mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 22:49:39 -04:00
352012e531
Make sure you re-run cmake, because boost::iostreams was added as dependency. Maybe you need to install libboost-iostreams1.55-dev on unix as well. Import every update manual until (included) those INSERT IGNORE updates for each database. Thanks DDuarte and Shauren for your amazing ideas, help and advises. In hope that nobody gets a "Your database structure is not up to date..." anymore ,-) Signed-off-by: Naios <naios-dev@live.de> Signed-off-by: Nayd <dnpd.dd@gmail.com>
83 lines
3.7 KiB
C++
83 lines
3.7 KiB
C++
// Copyright (c) 2006, 2007 Julio M. Merino Vidal
|
|
// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
|
|
// Copyright (c) 2009 Boris Schaeling
|
|
// Copyright (c) 2010 Felipe Tanus, Boris Schaeling
|
|
// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#ifndef BOOST_PROCESS_WINDOWS_EXECUTE_HPP
|
|
#define BOOST_PROCESS_WINDOWS_EXECUTE_HPP
|
|
|
|
#include <boost/process/windows/executor.hpp>
|
|
#include <boost/process/windows/child.hpp>
|
|
#include <boost/fusion/tuple/make_tuple.hpp>
|
|
#include <boost/ref.hpp>
|
|
|
|
namespace boost { namespace process { namespace windows {
|
|
|
|
template <class I0>
|
|
child execute(const I0 &i0)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0)));
|
|
}
|
|
|
|
template <class I0, class I1>
|
|
child execute(const I0 &i0, const I1 &i1)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1)));
|
|
}
|
|
|
|
template <class I0, class I1, class I2>
|
|
child execute(const I0 &i0, const I1 &i1, const I2 &i2)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2)));
|
|
}
|
|
|
|
template <class I0, class I1, class I2, class I3>
|
|
child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3)));
|
|
}
|
|
|
|
template <class I0, class I1, class I2, class I3, class I4>
|
|
child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4)));
|
|
}
|
|
|
|
template <class I0, class I1, class I2, class I3, class I4, class I5>
|
|
child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5)));
|
|
}
|
|
|
|
template <class I0, class I1, class I2, class I3, class I4, class I5, class I6>
|
|
child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6)));
|
|
}
|
|
|
|
template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7>
|
|
child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7)));
|
|
}
|
|
|
|
template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7, class I8>
|
|
child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7, const I8 &i8)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7), boost::cref(i8)));
|
|
}
|
|
|
|
template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7, class I8, class I9>
|
|
child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7, const I8 &i8, const I9 &i9)
|
|
{
|
|
return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7), boost::cref(i8), boost::cref(i9)));
|
|
}
|
|
|
|
}}}
|
|
|
|
#endif
|