857 lines
42 KiB
C++
857 lines
42 KiB
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// (C) Copyright Ion Gaztanaga 2014-2014. 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)
|
|
//
|
|
// See http://www.boost.org/libs/container for documentation.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef BOOST_MOVE_DETAIL_FWD_MACROS_HPP
|
|
#define BOOST_MOVE_DETAIL_FWD_MACROS_HPP
|
|
|
|
#ifndef BOOST_CONFIG_HPP
|
|
# include <boost/config.hpp>
|
|
#endif
|
|
#
|
|
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
|
# pragma once
|
|
#endif
|
|
|
|
#include <boost/move/detail/workaround.hpp>
|
|
|
|
namespace boost {
|
|
namespace move_detail {
|
|
|
|
template <typename T> struct unvoid { typedef T type; };
|
|
template <> struct unvoid<void> { struct type { }; };
|
|
template <> struct unvoid<const void> { struct type { }; };
|
|
|
|
} //namespace move_detail {
|
|
} //namespace boost {
|
|
|
|
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
|
|
|
#if defined(BOOST_MOVE_MSVC_10_MEMBER_RVALUE_REF_BUG)
|
|
|
|
namespace boost {
|
|
namespace move_detail {
|
|
|
|
template<class T>
|
|
struct mref;
|
|
|
|
template<class T>
|
|
struct mref<T &>
|
|
{
|
|
explicit mref(T &t) : t_(t){}
|
|
T &t_;
|
|
T & get() { return t_; }
|
|
};
|
|
|
|
template<class T>
|
|
struct mref
|
|
{
|
|
explicit mref(T &&t) : t_(t) {}
|
|
T &t_;
|
|
T &&get() { return ::boost::move(t_); }
|
|
};
|
|
|
|
} //namespace move_detail {
|
|
} //namespace boost {
|
|
|
|
#endif //BOOST_MOVE_MSVC_10_MEMBER_RVALUE_REF_BUG
|
|
#endif //!defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
|
|
|
//BOOST_MOVE_REPEATN(MACRO)
|
|
#define BOOST_MOVE_REPEAT(x, MACRO) BOOST_MOVE_REPEAT_I(x,MACRO)
|
|
#define BOOST_MOVE_REPEAT_I(x, MACRO) BOOST_MOVE_REPEAT##x(MACRO)
|
|
#define BOOST_MOVE_REPEAT0(MACRO)
|
|
#define BOOST_MOVE_REPEAT1(MACRO) MACRO
|
|
#define BOOST_MOVE_REPEAT2(MACRO) BOOST_MOVE_REPEAT1(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT3(MACRO) BOOST_MOVE_REPEAT2(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT4(MACRO) BOOST_MOVE_REPEAT3(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT5(MACRO) BOOST_MOVE_REPEAT4(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT6(MACRO) BOOST_MOVE_REPEAT5(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT7(MACRO) BOOST_MOVE_REPEAT6(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT8(MACRO) BOOST_MOVE_REPEAT7(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT9(MACRO) BOOST_MOVE_REPEAT8(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT10(MACRO) BOOST_MOVE_REPEAT9(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT11(MACRO) BOOST_MOVE_REPEAT10(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT12(MACRO) BOOST_MOVE_REPEAT11(MACRO), MACRO
|
|
#define BOOST_MOVE_REPEAT13(MACRO) BOOST_MOVE_REPEAT12(MACRO), MACRO
|
|
|
|
//BOOST_MOVE_FWDN
|
|
#define BOOST_MOVE_FWD0
|
|
#define BOOST_MOVE_FWD1 ::boost::forward<P0>(p0)
|
|
#define BOOST_MOVE_FWD2 BOOST_MOVE_FWD1, ::boost::forward<P1>(p1)
|
|
#define BOOST_MOVE_FWD3 BOOST_MOVE_FWD2, ::boost::forward<P2>(p2)
|
|
#define BOOST_MOVE_FWD4 BOOST_MOVE_FWD3, ::boost::forward<P3>(p3)
|
|
#define BOOST_MOVE_FWD5 BOOST_MOVE_FWD4, ::boost::forward<P4>(p4)
|
|
#define BOOST_MOVE_FWD6 BOOST_MOVE_FWD5, ::boost::forward<P5>(p5)
|
|
#define BOOST_MOVE_FWD7 BOOST_MOVE_FWD6, ::boost::forward<P6>(p6)
|
|
#define BOOST_MOVE_FWD8 BOOST_MOVE_FWD7, ::boost::forward<P7>(p7)
|
|
#define BOOST_MOVE_FWD9 BOOST_MOVE_FWD8, ::boost::forward<P8>(p8)
|
|
|
|
//BOOST_MOVE_FWDQN
|
|
#define BOOST_MOVE_FWDQ0
|
|
#define BOOST_MOVE_FWDQ1 ::boost::forward<Q0>(q0)
|
|
#define BOOST_MOVE_FWDQ2 BOOST_MOVE_FWDQ1, ::boost::forward<Q1>(q1)
|
|
#define BOOST_MOVE_FWDQ3 BOOST_MOVE_FWDQ2, ::boost::forward<Q2>(q2)
|
|
#define BOOST_MOVE_FWDQ4 BOOST_MOVE_FWDQ3, ::boost::forward<Q3>(q3)
|
|
#define BOOST_MOVE_FWDQ5 BOOST_MOVE_FWDQ4, ::boost::forward<Q4>(q4)
|
|
#define BOOST_MOVE_FWDQ6 BOOST_MOVE_FWDQ5, ::boost::forward<Q5>(q5)
|
|
#define BOOST_MOVE_FWDQ7 BOOST_MOVE_FWDQ6, ::boost::forward<Q6>(q6)
|
|
#define BOOST_MOVE_FWDQ8 BOOST_MOVE_FWDQ7, ::boost::forward<Q7>(q7)
|
|
#define BOOST_MOVE_FWDQ9 BOOST_MOVE_FWDQ8, ::boost::forward<Q8>(q8)
|
|
|
|
//BOOST_MOVE_TMPL_GETN
|
|
#define BOOST_MOVE_TMPL_GET0
|
|
#define BOOST_MOVE_TMPL_GET1 p.template get<0>()
|
|
#define BOOST_MOVE_TMPL_GET2 BOOST_MOVE_TMPL_GET1, p.template get<1>()
|
|
#define BOOST_MOVE_TMPL_GET3 BOOST_MOVE_TMPL_GET2, p.template get<2>()
|
|
#define BOOST_MOVE_TMPL_GET4 BOOST_MOVE_TMPL_GET3, p.template get<3>()
|
|
#define BOOST_MOVE_TMPL_GET5 BOOST_MOVE_TMPL_GET4, p.template get<4>()
|
|
#define BOOST_MOVE_TMPL_GET6 BOOST_MOVE_TMPL_GET5, p.template get<5>()
|
|
#define BOOST_MOVE_TMPL_GET7 BOOST_MOVE_TMPL_GET6, p.template get<6>()
|
|
#define BOOST_MOVE_TMPL_GET8 BOOST_MOVE_TMPL_GET7, p.template get<7>()
|
|
#define BOOST_MOVE_TMPL_GET9 BOOST_MOVE_TMPL_GET8, p.template get<8>()
|
|
|
|
//BOOST_MOVE_TMPL_GETQN
|
|
#define BOOST_MOVE_TMPL_GETQ0
|
|
#define BOOST_MOVE_TMPL_GETQ1 q.template get<0>()
|
|
#define BOOST_MOVE_TMPL_GETQ2 BOOST_MOVE_TMPL_GETQ1, q.template get<1>()
|
|
#define BOOST_MOVE_TMPL_GETQ3 BOOST_MOVE_TMPL_GETQ2, q.template get<2>()
|
|
#define BOOST_MOVE_TMPL_GETQ4 BOOST_MOVE_TMPL_GETQ3, q.template get<3>()
|
|
#define BOOST_MOVE_TMPL_GETQ5 BOOST_MOVE_TMPL_GETQ4, q.template get<4>()
|
|
#define BOOST_MOVE_TMPL_GETQ6 BOOST_MOVE_TMPL_GETQ5, q.template get<5>()
|
|
#define BOOST_MOVE_TMPL_GETQ7 BOOST_MOVE_TMPL_GETQ6, q.template get<6>()
|
|
#define BOOST_MOVE_TMPL_GETQ8 BOOST_MOVE_TMPL_GETQ7, q.template get<7>()
|
|
#define BOOST_MOVE_TMPL_GETQ9 BOOST_MOVE_TMPL_GETQ8, q.template get<8>()
|
|
|
|
//BOOST_MOVE_GET_IDXN
|
|
#define BOOST_MOVE_GET_IDX0
|
|
#define BOOST_MOVE_GET_IDX1 get<0>(p)
|
|
#define BOOST_MOVE_GET_IDX2 BOOST_MOVE_GET_IDX1, get<1>(p)
|
|
#define BOOST_MOVE_GET_IDX3 BOOST_MOVE_GET_IDX2, get<2>(p)
|
|
#define BOOST_MOVE_GET_IDX4 BOOST_MOVE_GET_IDX3, get<3>(p)
|
|
#define BOOST_MOVE_GET_IDX5 BOOST_MOVE_GET_IDX4, get<4>(p)
|
|
#define BOOST_MOVE_GET_IDX6 BOOST_MOVE_GET_IDX5, get<5>(p)
|
|
#define BOOST_MOVE_GET_IDX7 BOOST_MOVE_GET_IDX6, get<6>(p)
|
|
#define BOOST_MOVE_GET_IDX8 BOOST_MOVE_GET_IDX7, get<7>(p)
|
|
#define BOOST_MOVE_GET_IDX9 BOOST_MOVE_GET_IDX8, get<8>(p)
|
|
|
|
//BOOST_MOVE_GET_IDXQN
|
|
#define BOOST_MOVE_GET_IDXQ0
|
|
#define BOOST_MOVE_GET_IDXQ1 get<0>(q)
|
|
#define BOOST_MOVE_GET_IDXQ2 BOOST_MOVE_GET_IDXQ1, get<1>(q)
|
|
#define BOOST_MOVE_GET_IDXQ3 BOOST_MOVE_GET_IDXQ2, get<2>(q)
|
|
#define BOOST_MOVE_GET_IDXQ4 BOOST_MOVE_GET_IDXQ3, get<3>(q)
|
|
#define BOOST_MOVE_GET_IDXQ5 BOOST_MOVE_GET_IDXQ4, get<4>(q)
|
|
#define BOOST_MOVE_GET_IDXQ6 BOOST_MOVE_GET_IDXQ5, get<5>(q)
|
|
#define BOOST_MOVE_GET_IDXQ7 BOOST_MOVE_GET_IDXQ6, get<6>(q)
|
|
#define BOOST_MOVE_GET_IDXQ8 BOOST_MOVE_GET_IDXQ7, get<7>(q)
|
|
#define BOOST_MOVE_GET_IDXQ9 BOOST_MOVE_GET_IDXQ8, get<8>(q)
|
|
|
|
//BOOST_MOVE_ARGN
|
|
#define BOOST_MOVE_ARG0
|
|
#define BOOST_MOVE_ARG1 p0
|
|
#define BOOST_MOVE_ARG2 BOOST_MOVE_ARG1, p1
|
|
#define BOOST_MOVE_ARG3 BOOST_MOVE_ARG2, p2
|
|
#define BOOST_MOVE_ARG4 BOOST_MOVE_ARG3, p3
|
|
#define BOOST_MOVE_ARG5 BOOST_MOVE_ARG4, p4
|
|
#define BOOST_MOVE_ARG6 BOOST_MOVE_ARG5, p5
|
|
#define BOOST_MOVE_ARG7 BOOST_MOVE_ARG6, p6
|
|
#define BOOST_MOVE_ARG8 BOOST_MOVE_ARG7, p7
|
|
#define BOOST_MOVE_ARG9 BOOST_MOVE_ARG8, p8
|
|
|
|
//BOOST_MOVE_ARGQN
|
|
#define BOOST_MOVE_ARGQ0
|
|
#define BOOST_MOVE_ARGQ1 q0
|
|
#define BOOST_MOVE_ARGQ2 BOOST_MOVE_ARGQ1, q1
|
|
#define BOOST_MOVE_ARGQ3 BOOST_MOVE_ARGQ2, q2
|
|
#define BOOST_MOVE_ARGQ4 BOOST_MOVE_ARGQ3, q3
|
|
#define BOOST_MOVE_ARGQ5 BOOST_MOVE_ARGQ4, q4
|
|
#define BOOST_MOVE_ARGQ6 BOOST_MOVE_ARGQ5, q5
|
|
#define BOOST_MOVE_ARGQ7 BOOST_MOVE_ARGQ6, q6
|
|
#define BOOST_MOVE_ARGQ8 BOOST_MOVE_ARGQ7, q7
|
|
#define BOOST_MOVE_ARGQ9 BOOST_MOVE_ARGQ8, q8
|
|
|
|
//BOOST_MOVE_DECLVALN
|
|
#define BOOST_MOVE_DECLVAL0
|
|
#define BOOST_MOVE_DECLVAL1 ::boost::move_detail::declval<P0>()
|
|
#define BOOST_MOVE_DECLVAL2 BOOST_MOVE_DECLVAL1, ::boost::move_detail::declval<P1>()
|
|
#define BOOST_MOVE_DECLVAL3 BOOST_MOVE_DECLVAL2, ::boost::move_detail::declval<P2>()
|
|
#define BOOST_MOVE_DECLVAL4 BOOST_MOVE_DECLVAL3, ::boost::move_detail::declval<P3>()
|
|
#define BOOST_MOVE_DECLVAL5 BOOST_MOVE_DECLVAL4, ::boost::move_detail::declval<P4>()
|
|
#define BOOST_MOVE_DECLVAL6 BOOST_MOVE_DECLVAL5, ::boost::move_detail::declval<P5>()
|
|
#define BOOST_MOVE_DECLVAL7 BOOST_MOVE_DECLVAL6, ::boost::move_detail::declval<P6>()
|
|
#define BOOST_MOVE_DECLVAL8 BOOST_MOVE_DECLVAL7, ::boost::move_detail::declval<P7>()
|
|
#define BOOST_MOVE_DECLVAL9 BOOST_MOVE_DECLVAL8, ::boost::move_detail::declval<P8>()
|
|
|
|
//BOOST_MOVE_DECLVALQN
|
|
#define BOOST_MOVE_DECLVALQ0
|
|
#define BOOST_MOVE_DECLVALQ1 ::boost::move_detail::declval<Q0>()
|
|
#define BOOST_MOVE_DECLVALQ2 BOOST_MOVE_DECLVALQ1, ::boost::move_detail::declval<Q1>()
|
|
#define BOOST_MOVE_DECLVALQ3 BOOST_MOVE_DECLVALQ2, ::boost::move_detail::declval<Q2>()
|
|
#define BOOST_MOVE_DECLVALQ4 BOOST_MOVE_DECLVALQ3, ::boost::move_detail::declval<Q3>()
|
|
#define BOOST_MOVE_DECLVALQ5 BOOST_MOVE_DECLVALQ4, ::boost::move_detail::declval<Q4>()
|
|
#define BOOST_MOVE_DECLVALQ6 BOOST_MOVE_DECLVALQ5, ::boost::move_detail::declval<Q5>()
|
|
#define BOOST_MOVE_DECLVALQ7 BOOST_MOVE_DECLVALQ6, ::boost::move_detail::declval<Q6>()
|
|
#define BOOST_MOVE_DECLVALQ8 BOOST_MOVE_DECLVALQ7, ::boost::move_detail::declval<Q7>()
|
|
#define BOOST_MOVE_DECLVALQ9 BOOST_MOVE_DECLVALQ8, ::boost::move_detail::declval<Q8>()
|
|
|
|
#ifdef BOOST_MOVE_MSVC_10_MEMBER_RVALUE_REF_BUG
|
|
#define BOOST_MOVE_MREF(T) ::boost::move_detail::mref<T>
|
|
#define BOOST_MOVE_MFWD(N) ::boost::forward<P##N>(this->m_p##N.get())
|
|
#define BOOST_MOVE_MFWDQ(N) ::boost::forward<Q##N>(this->m_q##N.get())
|
|
#else
|
|
#define BOOST_MOVE_MREF(T) BOOST_FWD_REF(T)
|
|
#define BOOST_MOVE_MFWD(N) ::boost::forward<P##N>(this->m_p##N)
|
|
#define BOOST_MOVE_MFWDQ(N) ::boost::forward<Q##N>(this->m_q##N)
|
|
#endif
|
|
#define BOOST_MOVE_MITFWD(N) *this->m_p##N
|
|
#define BOOST_MOVE_MINC(N) ++this->m_p##N
|
|
#define BOOST_MOVE_MITFWDQ(N) *this->m_q##N
|
|
#define BOOST_MOVE_MINCQ(N) ++this->m_q##N
|
|
|
|
|
|
//BOOST_MOVE_MFWDN
|
|
#define BOOST_MOVE_MFWD0
|
|
#define BOOST_MOVE_MFWD1 BOOST_MOVE_MFWD(0)
|
|
#define BOOST_MOVE_MFWD2 BOOST_MOVE_MFWD1, BOOST_MOVE_MFWD(1)
|
|
#define BOOST_MOVE_MFWD3 BOOST_MOVE_MFWD2, BOOST_MOVE_MFWD(2)
|
|
#define BOOST_MOVE_MFWD4 BOOST_MOVE_MFWD3, BOOST_MOVE_MFWD(3)
|
|
#define BOOST_MOVE_MFWD5 BOOST_MOVE_MFWD4, BOOST_MOVE_MFWD(4)
|
|
#define BOOST_MOVE_MFWD6 BOOST_MOVE_MFWD5, BOOST_MOVE_MFWD(5)
|
|
#define BOOST_MOVE_MFWD7 BOOST_MOVE_MFWD6, BOOST_MOVE_MFWD(6)
|
|
#define BOOST_MOVE_MFWD8 BOOST_MOVE_MFWD7, BOOST_MOVE_MFWD(7)
|
|
#define BOOST_MOVE_MFWD9 BOOST_MOVE_MFWD8, BOOST_MOVE_MFWD(8)
|
|
|
|
//BOOST_MOVE_MFWDN
|
|
#define BOOST_MOVE_MFWDQ0
|
|
#define BOOST_MOVE_MFWDQ1 BOOST_MOVE_MFWDQ(0)
|
|
#define BOOST_MOVE_MFWDQ2 BOOST_MOVE_MFWDQ1, BOOST_MOVE_MFWDQ(1)
|
|
#define BOOST_MOVE_MFWDQ3 BOOST_MOVE_MFWDQ2, BOOST_MOVE_MFWDQ(2)
|
|
#define BOOST_MOVE_MFWDQ4 BOOST_MOVE_MFWDQ3, BOOST_MOVE_MFWDQ(3)
|
|
#define BOOST_MOVE_MFWDQ5 BOOST_MOVE_MFWDQ4, BOOST_MOVE_MFWDQ(4)
|
|
#define BOOST_MOVE_MFWDQ6 BOOST_MOVE_MFWDQ5, BOOST_MOVE_MFWDQ(5)
|
|
#define BOOST_MOVE_MFWDQ7 BOOST_MOVE_MFWDQ6, BOOST_MOVE_MFWDQ(6)
|
|
#define BOOST_MOVE_MFWDQ8 BOOST_MOVE_MFWDQ7, BOOST_MOVE_MFWDQ(7)
|
|
#define BOOST_MOVE_MFWDQ9 BOOST_MOVE_MFWDQ8, BOOST_MOVE_MFWDQ(8)
|
|
|
|
//BOOST_MOVE_MINCN
|
|
#define BOOST_MOVE_MINC0
|
|
#define BOOST_MOVE_MINC1 BOOST_MOVE_MINC(0)
|
|
#define BOOST_MOVE_MINC2 BOOST_MOVE_MINC1, BOOST_MOVE_MINC(1)
|
|
#define BOOST_MOVE_MINC3 BOOST_MOVE_MINC2, BOOST_MOVE_MINC(2)
|
|
#define BOOST_MOVE_MINC4 BOOST_MOVE_MINC3, BOOST_MOVE_MINC(3)
|
|
#define BOOST_MOVE_MINC5 BOOST_MOVE_MINC4, BOOST_MOVE_MINC(4)
|
|
#define BOOST_MOVE_MINC6 BOOST_MOVE_MINC5, BOOST_MOVE_MINC(5)
|
|
#define BOOST_MOVE_MINC7 BOOST_MOVE_MINC6, BOOST_MOVE_MINC(6)
|
|
#define BOOST_MOVE_MINC8 BOOST_MOVE_MINC7, BOOST_MOVE_MINC(7)
|
|
#define BOOST_MOVE_MINC9 BOOST_MOVE_MINC8, BOOST_MOVE_MINC(8)
|
|
|
|
//BOOST_MOVE_MINCQN
|
|
#define BOOST_MOVE_MINCQ0
|
|
#define BOOST_MOVE_MINCQ1 BOOST_MOVE_MINCQ(0)
|
|
#define BOOST_MOVE_MINCQ2 BOOST_MOVE_MINCQ1, BOOST_MOVE_MINCQ(1)
|
|
#define BOOST_MOVE_MINCQ3 BOOST_MOVE_MINCQ2, BOOST_MOVE_MINCQ(2)
|
|
#define BOOST_MOVE_MINCQ4 BOOST_MOVE_MINCQ3, BOOST_MOVE_MINCQ(3)
|
|
#define BOOST_MOVE_MINCQ5 BOOST_MOVE_MINCQ4, BOOST_MOVE_MINCQ(4)
|
|
#define BOOST_MOVE_MINCQ6 BOOST_MOVE_MINCQ5, BOOST_MOVE_MINCQ(5)
|
|
#define BOOST_MOVE_MINCQ7 BOOST_MOVE_MINCQ6, BOOST_MOVE_MINCQ(6)
|
|
#define BOOST_MOVE_MINCQ8 BOOST_MOVE_MINCQ7, BOOST_MOVE_MINCQ(7)
|
|
#define BOOST_MOVE_MINCQ9 BOOST_MOVE_MINCQ8, BOOST_MOVE_MINCQ(8)
|
|
|
|
//BOOST_MOVE_MITFWDN
|
|
#define BOOST_MOVE_MITFWD0
|
|
#define BOOST_MOVE_MITFWD1 BOOST_MOVE_MITFWD(0)
|
|
#define BOOST_MOVE_MITFWD2 BOOST_MOVE_MITFWD1, BOOST_MOVE_MITFWD(1)
|
|
#define BOOST_MOVE_MITFWD3 BOOST_MOVE_MITFWD2, BOOST_MOVE_MITFWD(2)
|
|
#define BOOST_MOVE_MITFWD4 BOOST_MOVE_MITFWD3, BOOST_MOVE_MITFWD(3)
|
|
#define BOOST_MOVE_MITFWD5 BOOST_MOVE_MITFWD4, BOOST_MOVE_MITFWD(4)
|
|
#define BOOST_MOVE_MITFWD6 BOOST_MOVE_MITFWD5, BOOST_MOVE_MITFWD(5)
|
|
#define BOOST_MOVE_MITFWD7 BOOST_MOVE_MITFWD6, BOOST_MOVE_MITFWD(6)
|
|
#define BOOST_MOVE_MITFWD8 BOOST_MOVE_MITFWD7, BOOST_MOVE_MITFWD(7)
|
|
#define BOOST_MOVE_MITFWD9 BOOST_MOVE_MITFWD8, BOOST_MOVE_MITFWD(8)
|
|
|
|
//BOOST_MOVE_MITFWDQN
|
|
#define BOOST_MOVE_MITFWDQ0
|
|
#define BOOST_MOVE_MITFWDQ1 BOOST_MOVE_MITFWDQ(0)
|
|
#define BOOST_MOVE_MITFWDQ2 BOOST_MOVE_MITFWDQ1, BOOST_MOVE_MITFWDQ(1)
|
|
#define BOOST_MOVE_MITFWDQ3 BOOST_MOVE_MITFWDQ2, BOOST_MOVE_MITFWDQ(2)
|
|
#define BOOST_MOVE_MITFWDQ4 BOOST_MOVE_MITFWDQ3, BOOST_MOVE_MITFWDQ(3)
|
|
#define BOOST_MOVE_MITFWDQ5 BOOST_MOVE_MITFWDQ4, BOOST_MOVE_MITFWDQ(4)
|
|
#define BOOST_MOVE_MITFWDQ6 BOOST_MOVE_MITFWDQ5, BOOST_MOVE_MITFWDQ(5)
|
|
#define BOOST_MOVE_MITFWDQ7 BOOST_MOVE_MITFWDQ6, BOOST_MOVE_MITFWDQ(6)
|
|
#define BOOST_MOVE_MITFWDQ8 BOOST_MOVE_MITFWDQ7, BOOST_MOVE_MITFWDQ(7)
|
|
#define BOOST_MOVE_MITFWDQ9 BOOST_MOVE_MITFWDQ8, BOOST_MOVE_MITFWDQ(8)
|
|
|
|
//BOOST_MOVE_FWD_INITN
|
|
#define BOOST_MOVE_FWD_INIT0
|
|
#define BOOST_MOVE_FWD_INIT1 m_p0(::boost::forward<P0>(p0))
|
|
#define BOOST_MOVE_FWD_INIT2 BOOST_MOVE_FWD_INIT1, m_p1(::boost::forward<P1>(p1))
|
|
#define BOOST_MOVE_FWD_INIT3 BOOST_MOVE_FWD_INIT2, m_p2(::boost::forward<P2>(p2))
|
|
#define BOOST_MOVE_FWD_INIT4 BOOST_MOVE_FWD_INIT3, m_p3(::boost::forward<P3>(p3))
|
|
#define BOOST_MOVE_FWD_INIT5 BOOST_MOVE_FWD_INIT4, m_p4(::boost::forward<P4>(p4))
|
|
#define BOOST_MOVE_FWD_INIT6 BOOST_MOVE_FWD_INIT5, m_p5(::boost::forward<P5>(p5))
|
|
#define BOOST_MOVE_FWD_INIT7 BOOST_MOVE_FWD_INIT6, m_p6(::boost::forward<P6>(p6))
|
|
#define BOOST_MOVE_FWD_INIT8 BOOST_MOVE_FWD_INIT7, m_p7(::boost::forward<P7>(p7))
|
|
#define BOOST_MOVE_FWD_INIT9 BOOST_MOVE_FWD_INIT8, m_p8(::boost::forward<P8>(p8))
|
|
|
|
//BOOST_MOVE_FWD_INITQN
|
|
#define BOOST_MOVE_FWD_INITQ0
|
|
#define BOOST_MOVE_FWD_INITQ1 m_q0(::boost::forward<Q0>(q0))
|
|
#define BOOST_MOVE_FWD_INITQ2 BOOST_MOVE_FWD_INITQ1, m_q1(::boost::forward<Q1>(q1))
|
|
#define BOOST_MOVE_FWD_INITQ3 BOOST_MOVE_FWD_INITQ2, m_q2(::boost::forward<Q2>(q2))
|
|
#define BOOST_MOVE_FWD_INITQ4 BOOST_MOVE_FWD_INITQ3, m_q3(::boost::forward<Q3>(q3))
|
|
#define BOOST_MOVE_FWD_INITQ5 BOOST_MOVE_FWD_INITQ4, m_q4(::boost::forward<Q4>(q4))
|
|
#define BOOST_MOVE_FWD_INITQ6 BOOST_MOVE_FWD_INITQ5, m_q5(::boost::forward<Q5>(q5))
|
|
#define BOOST_MOVE_FWD_INITQ7 BOOST_MOVE_FWD_INITQ6, m_q6(::boost::forward<Q6>(q6))
|
|
#define BOOST_MOVE_FWD_INITQ8 BOOST_MOVE_FWD_INITQ7, m_q7(::boost::forward<Q7>(q7))
|
|
#define BOOST_MOVE_FWD_INITQ9 BOOST_MOVE_FWD_INITQ8, m_q8(::boost::forward<Q8>(q8))
|
|
|
|
//BOOST_MOVE_VAL_INITN
|
|
#define BOOST_MOVE_VAL_INIT0
|
|
#define BOOST_MOVE_VAL_INIT1 m_p0(p0)
|
|
#define BOOST_MOVE_VAL_INIT2 BOOST_MOVE_VAL_INIT1, m_p1(p1)
|
|
#define BOOST_MOVE_VAL_INIT3 BOOST_MOVE_VAL_INIT2, m_p2(p2)
|
|
#define BOOST_MOVE_VAL_INIT4 BOOST_MOVE_VAL_INIT3, m_p3(p3)
|
|
#define BOOST_MOVE_VAL_INIT5 BOOST_MOVE_VAL_INIT4, m_p4(p4)
|
|
#define BOOST_MOVE_VAL_INIT6 BOOST_MOVE_VAL_INIT5, m_p5(p5)
|
|
#define BOOST_MOVE_VAL_INIT7 BOOST_MOVE_VAL_INIT6, m_p6(p6)
|
|
#define BOOST_MOVE_VAL_INIT8 BOOST_MOVE_VAL_INIT7, m_p7(p7)
|
|
#define BOOST_MOVE_VAL_INIT9 BOOST_MOVE_VAL_INIT8, m_p8(p8)
|
|
|
|
//BOOST_MOVE_VAL_INITQN
|
|
#define BOOST_MOVE_VAL_INITQ0
|
|
#define BOOST_MOVE_VAL_INITQ1 m_q0(q0)
|
|
#define BOOST_MOVE_VAL_INITQ2 BOOST_MOVE_VAL_INITQ1, m_q1(q1)
|
|
#define BOOST_MOVE_VAL_INITQ3 BOOST_MOVE_VAL_INITQ2, m_q2(q2)
|
|
#define BOOST_MOVE_VAL_INITQ4 BOOST_MOVE_VAL_INITQ3, m_q3(q3)
|
|
#define BOOST_MOVE_VAL_INITQ5 BOOST_MOVE_VAL_INITQ4, m_q4(q4)
|
|
#define BOOST_MOVE_VAL_INITQ6 BOOST_MOVE_VAL_INITQ5, m_q5(q5)
|
|
#define BOOST_MOVE_VAL_INITQ7 BOOST_MOVE_VAL_INITQ6, m_q6(q6)
|
|
#define BOOST_MOVE_VAL_INITQ8 BOOST_MOVE_VAL_INITQ7, m_q7(q7)
|
|
#define BOOST_MOVE_VAL_INITQ9 BOOST_MOVE_VAL_INITQ8, m_q8(q8)
|
|
|
|
//BOOST_MOVE_UREFN
|
|
#define BOOST_MOVE_UREF0
|
|
#define BOOST_MOVE_UREF1 BOOST_FWD_REF(P0) p0
|
|
#define BOOST_MOVE_UREF2 BOOST_MOVE_UREF1, BOOST_FWD_REF(P1) p1
|
|
#define BOOST_MOVE_UREF3 BOOST_MOVE_UREF2, BOOST_FWD_REF(P2) p2
|
|
#define BOOST_MOVE_UREF4 BOOST_MOVE_UREF3, BOOST_FWD_REF(P3) p3
|
|
#define BOOST_MOVE_UREF5 BOOST_MOVE_UREF4, BOOST_FWD_REF(P4) p4
|
|
#define BOOST_MOVE_UREF6 BOOST_MOVE_UREF5, BOOST_FWD_REF(P5) p5
|
|
#define BOOST_MOVE_UREF7 BOOST_MOVE_UREF6, BOOST_FWD_REF(P6) p6
|
|
#define BOOST_MOVE_UREF8 BOOST_MOVE_UREF7, BOOST_FWD_REF(P7) p7
|
|
#define BOOST_MOVE_UREF9 BOOST_MOVE_UREF8, BOOST_FWD_REF(P8) p8
|
|
|
|
//BOOST_MOVE_UREFQN
|
|
#define BOOST_MOVE_UREFQ0
|
|
#define BOOST_MOVE_UREFQ1 BOOST_FWD_REF(Q0) q0
|
|
#define BOOST_MOVE_UREFQ2 BOOST_MOVE_UREFQ1, BOOST_FWD_REF(Q1) q1
|
|
#define BOOST_MOVE_UREFQ3 BOOST_MOVE_UREFQ2, BOOST_FWD_REF(Q2) q2
|
|
#define BOOST_MOVE_UREFQ4 BOOST_MOVE_UREFQ3, BOOST_FWD_REF(Q3) q3
|
|
#define BOOST_MOVE_UREFQ5 BOOST_MOVE_UREFQ4, BOOST_FWD_REF(Q4) q4
|
|
#define BOOST_MOVE_UREFQ6 BOOST_MOVE_UREFQ5, BOOST_FWD_REF(Q5) q5
|
|
#define BOOST_MOVE_UREFQ7 BOOST_MOVE_UREFQ6, BOOST_FWD_REF(Q6) q6
|
|
#define BOOST_MOVE_UREFQ8 BOOST_MOVE_UREFQ7, BOOST_FWD_REF(Q7) q7
|
|
#define BOOST_MOVE_UREFQ9 BOOST_MOVE_UREFQ8, BOOST_FWD_REF(Q8) q8
|
|
|
|
//BOOST_MOVE_VALN
|
|
#define BOOST_MOVE_VAL0
|
|
#define BOOST_MOVE_VAL1 BOOST_FWD_REF(P0) p0
|
|
#define BOOST_MOVE_VAL2 BOOST_MOVE_VAL1, BOOST_FWD_REF(P1) p1
|
|
#define BOOST_MOVE_VAL3 BOOST_MOVE_VAL2, BOOST_FWD_REF(P2) p2
|
|
#define BOOST_MOVE_VAL4 BOOST_MOVE_VAL3, BOOST_FWD_REF(P3) p3
|
|
#define BOOST_MOVE_VAL5 BOOST_MOVE_VAL4, BOOST_FWD_REF(P4) p4
|
|
#define BOOST_MOVE_VAL6 BOOST_MOVE_VAL5, BOOST_FWD_REF(P5) p5
|
|
#define BOOST_MOVE_VAL7 BOOST_MOVE_VAL6, BOOST_FWD_REF(P6) p6
|
|
#define BOOST_MOVE_VAL8 BOOST_MOVE_VAL7, BOOST_FWD_REF(P7) p7
|
|
#define BOOST_MOVE_VAL9 BOOST_MOVE_VAL8, BOOST_FWD_REF(P8) p8
|
|
|
|
//BOOST_MOVE_VALQN
|
|
#define BOOST_MOVE_VALQ0
|
|
#define BOOST_MOVE_VALQ1 BOOST_FWD_REF(Q0) q0
|
|
#define BOOST_MOVE_VALQ2 BOOST_MOVE_VALQ1, BOOST_FWD_REF(Q1) q1
|
|
#define BOOST_MOVE_VALQ3 BOOST_MOVE_VALQ2, BOOST_FWD_REF(Q2) q2
|
|
#define BOOST_MOVE_VALQ4 BOOST_MOVE_VALQ3, BOOST_FWD_REF(Q3) q3
|
|
#define BOOST_MOVE_VALQ5 BOOST_MOVE_VALQ4, BOOST_FWD_REF(Q4) q4
|
|
#define BOOST_MOVE_VALQ6 BOOST_MOVE_VALQ5, BOOST_FWD_REF(Q5) q5
|
|
#define BOOST_MOVE_VALQ7 BOOST_MOVE_VALQ6, BOOST_FWD_REF(Q6) q6
|
|
#define BOOST_MOVE_VALQ8 BOOST_MOVE_VALQ7, BOOST_FWD_REF(Q7) q7
|
|
#define BOOST_MOVE_VALQ9 BOOST_MOVE_VALQ8, BOOST_FWD_REF(Q8) q8
|
|
|
|
|
|
#define BOOST_MOVE_UNVOIDCREF(T) const typename boost::move_detail::unvoid<T>::type&
|
|
//BOOST_MOVE_CREFN
|
|
#define BOOST_MOVE_CREF0
|
|
#define BOOST_MOVE_CREF1 BOOST_MOVE_UNVOIDCREF(P0) p0
|
|
#define BOOST_MOVE_CREF2 BOOST_MOVE_CREF1, BOOST_MOVE_UNVOIDCREF(P1) p1
|
|
#define BOOST_MOVE_CREF3 BOOST_MOVE_CREF2, BOOST_MOVE_UNVOIDCREF(P2) p2
|
|
#define BOOST_MOVE_CREF4 BOOST_MOVE_CREF3, BOOST_MOVE_UNVOIDCREF(P3) p3
|
|
#define BOOST_MOVE_CREF5 BOOST_MOVE_CREF4, BOOST_MOVE_UNVOIDCREF(P4) p4
|
|
#define BOOST_MOVE_CREF6 BOOST_MOVE_CREF5, BOOST_MOVE_UNVOIDCREF(P5) p5
|
|
#define BOOST_MOVE_CREF7 BOOST_MOVE_CREF6, BOOST_MOVE_UNVOIDCREF(P6) p6
|
|
#define BOOST_MOVE_CREF8 BOOST_MOVE_CREF7, BOOST_MOVE_UNVOIDCREF(P7) p7
|
|
#define BOOST_MOVE_CREF9 BOOST_MOVE_CREF8, BOOST_MOVE_UNVOIDCREF(P8) p8
|
|
|
|
//BOOST_MOVE_CREFQN
|
|
#define BOOST_MOVE_CREFQ0
|
|
#define BOOST_MOVE_CREFQ1 BOOST_MOVE_UNVOIDCREF(Q0) q0
|
|
#define BOOST_MOVE_CREFQ2 BOOST_MOVE_CREFQ1, BOOST_MOVE_UNVOIDCREF(Q1) q1
|
|
#define BOOST_MOVE_CREFQ3 BOOST_MOVE_CREFQ2, BOOST_MOVE_UNVOIDCREF(Q2) q2
|
|
#define BOOST_MOVE_CREFQ4 BOOST_MOVE_CREFQ3, BOOST_MOVE_UNVOIDCREF(Q3) q3
|
|
#define BOOST_MOVE_CREFQ5 BOOST_MOVE_CREFQ4, BOOST_MOVE_UNVOIDCREF(Q4) q4
|
|
#define BOOST_MOVE_CREFQ6 BOOST_MOVE_CREFQ5, BOOST_MOVE_UNVOIDCREF(Q5) q5
|
|
#define BOOST_MOVE_CREFQ7 BOOST_MOVE_CREFQ6, BOOST_MOVE_UNVOIDCREF(Q6) q6
|
|
#define BOOST_MOVE_CREFQ8 BOOST_MOVE_CREFQ7, BOOST_MOVE_UNVOIDCREF(Q7) q7
|
|
#define BOOST_MOVE_CREFQ9 BOOST_MOVE_CREFQ8, BOOST_MOVE_UNVOIDCREF(Q8) q8
|
|
|
|
//BOOST_MOVE_CLASSN
|
|
#define BOOST_MOVE_CLASS0
|
|
#define BOOST_MOVE_CLASS1 class P0
|
|
#define BOOST_MOVE_CLASS2 BOOST_MOVE_CLASS1, class P1
|
|
#define BOOST_MOVE_CLASS3 BOOST_MOVE_CLASS2, class P2
|
|
#define BOOST_MOVE_CLASS4 BOOST_MOVE_CLASS3, class P3
|
|
#define BOOST_MOVE_CLASS5 BOOST_MOVE_CLASS4, class P4
|
|
#define BOOST_MOVE_CLASS6 BOOST_MOVE_CLASS5, class P5
|
|
#define BOOST_MOVE_CLASS7 BOOST_MOVE_CLASS6, class P6
|
|
#define BOOST_MOVE_CLASS8 BOOST_MOVE_CLASS7, class P7
|
|
#define BOOST_MOVE_CLASS9 BOOST_MOVE_CLASS8, class P8
|
|
|
|
//BOOST_MOVE_CLASSQN
|
|
#define BOOST_MOVE_CLASSQ0
|
|
#define BOOST_MOVE_CLASSQ1 class Q0
|
|
#define BOOST_MOVE_CLASSQ2 BOOST_MOVE_CLASSQ1, class Q1
|
|
#define BOOST_MOVE_CLASSQ3 BOOST_MOVE_CLASSQ2, class Q2
|
|
#define BOOST_MOVE_CLASSQ4 BOOST_MOVE_CLASSQ3, class Q3
|
|
#define BOOST_MOVE_CLASSQ5 BOOST_MOVE_CLASSQ4, class Q4
|
|
#define BOOST_MOVE_CLASSQ6 BOOST_MOVE_CLASSQ5, class Q5
|
|
#define BOOST_MOVE_CLASSQ7 BOOST_MOVE_CLASSQ6, class Q6
|
|
#define BOOST_MOVE_CLASSQ8 BOOST_MOVE_CLASSQ7, class Q7
|
|
#define BOOST_MOVE_CLASSQ9 BOOST_MOVE_CLASSQ8, class Q8
|
|
|
|
//BOOST_MOVE_CLASSDFLTN
|
|
#define BOOST_MOVE_CLASSDFLT0
|
|
#define BOOST_MOVE_CLASSDFLT1 class P0 = void
|
|
#define BOOST_MOVE_CLASSDFLT2 BOOST_MOVE_CLASSDFLT1, class P1 = void
|
|
#define BOOST_MOVE_CLASSDFLT3 BOOST_MOVE_CLASSDFLT2, class P2 = void
|
|
#define BOOST_MOVE_CLASSDFLT4 BOOST_MOVE_CLASSDFLT3, class P3 = void
|
|
#define BOOST_MOVE_CLASSDFLT5 BOOST_MOVE_CLASSDFLT4, class P4 = void
|
|
#define BOOST_MOVE_CLASSDFLT6 BOOST_MOVE_CLASSDFLT5, class P5 = void
|
|
#define BOOST_MOVE_CLASSDFLT7 BOOST_MOVE_CLASSDFLT6, class P6 = void
|
|
#define BOOST_MOVE_CLASSDFLT8 BOOST_MOVE_CLASSDFLT7, class P7 = void
|
|
#define BOOST_MOVE_CLASSDFLT9 BOOST_MOVE_CLASSDFLT8, class P8 = void
|
|
|
|
//BOOST_MOVE_CLASSDFLTQN
|
|
#define BOOST_MOVE_CLASSDFLTQ0
|
|
#define BOOST_MOVE_CLASSDFLTQ1 class Q0 = void
|
|
#define BOOST_MOVE_CLASSDFLTQ2 BOOST_MOVE_CLASSDFLTQ1, class Q1 = void
|
|
#define BOOST_MOVE_CLASSDFLTQ3 BOOST_MOVE_CLASSDFLTQ2, class Q2 = void
|
|
#define BOOST_MOVE_CLASSDFLTQ4 BOOST_MOVE_CLASSDFLTQ3, class Q3 = void
|
|
#define BOOST_MOVE_CLASSDFLTQ5 BOOST_MOVE_CLASSDFLTQ4, class Q4 = void
|
|
#define BOOST_MOVE_CLASSDFLTQ6 BOOST_MOVE_CLASSDFLTQ5, class Q5 = void
|
|
#define BOOST_MOVE_CLASSDFLTQ7 BOOST_MOVE_CLASSDFLTQ6, class Q6 = void
|
|
#define BOOST_MOVE_CLASSDFLTQ8 BOOST_MOVE_CLASSDFLTQ7, class Q7 = void
|
|
#define BOOST_MOVE_CLASSDFLTQ9 BOOST_MOVE_CLASSDFLTQ8, class Q8 = void
|
|
|
|
//BOOST_MOVE_TARGN
|
|
#define BOOST_MOVE_TARG0
|
|
#define BOOST_MOVE_TARG1 P0
|
|
#define BOOST_MOVE_TARG2 BOOST_MOVE_TARG1, P1
|
|
#define BOOST_MOVE_TARG3 BOOST_MOVE_TARG2, P2
|
|
#define BOOST_MOVE_TARG4 BOOST_MOVE_TARG3, P3
|
|
#define BOOST_MOVE_TARG5 BOOST_MOVE_TARG4, P4
|
|
#define BOOST_MOVE_TARG6 BOOST_MOVE_TARG5, P5
|
|
#define BOOST_MOVE_TARG7 BOOST_MOVE_TARG6, P6
|
|
#define BOOST_MOVE_TARG8 BOOST_MOVE_TARG7, P7
|
|
#define BOOST_MOVE_TARG9 BOOST_MOVE_TARG8, P8
|
|
|
|
//BOOST_MOVE_TARGQN
|
|
#define BOOST_MOVE_TARGQ0
|
|
#define BOOST_MOVE_TARGQ1 Q0
|
|
#define BOOST_MOVE_TARGQ2 BOOST_MOVE_TARGQ1, Q1
|
|
#define BOOST_MOVE_TARGQ3 BOOST_MOVE_TARGQ2, Q2
|
|
#define BOOST_MOVE_TARGQ4 BOOST_MOVE_TARGQ3, Q3
|
|
#define BOOST_MOVE_TARGQ5 BOOST_MOVE_TARGQ4, Q4
|
|
#define BOOST_MOVE_TARGQ6 BOOST_MOVE_TARGQ5, Q5
|
|
#define BOOST_MOVE_TARGQ7 BOOST_MOVE_TARGQ6, Q6
|
|
#define BOOST_MOVE_TARGQ8 BOOST_MOVE_TARGQ7, Q7
|
|
#define BOOST_MOVE_TARGQ9 BOOST_MOVE_TARGQ8, Q8
|
|
|
|
//BOOST_MOVE_FWD_TN
|
|
#define BOOST_MOVE_FWD_T0
|
|
#define BOOST_MOVE_FWD_T1 typename ::boost::move_detail::forward_type<P0>::type
|
|
#define BOOST_MOVE_FWD_T2 BOOST_MOVE_FWD_T1, typename ::boost::move_detail::forward_type<P1>::type
|
|
#define BOOST_MOVE_FWD_T3 BOOST_MOVE_FWD_T2, typename ::boost::move_detail::forward_type<P2>::type
|
|
#define BOOST_MOVE_FWD_T4 BOOST_MOVE_FWD_T3, typename ::boost::move_detail::forward_type<P3>::type
|
|
#define BOOST_MOVE_FWD_T5 BOOST_MOVE_FWD_T4, typename ::boost::move_detail::forward_type<P4>::type
|
|
#define BOOST_MOVE_FWD_T6 BOOST_MOVE_FWD_T5, typename ::boost::move_detail::forward_type<P5>::type
|
|
#define BOOST_MOVE_FWD_T7 BOOST_MOVE_FWD_T6, typename ::boost::move_detail::forward_type<P6>::type
|
|
#define BOOST_MOVE_FWD_T8 BOOST_MOVE_FWD_T7, typename ::boost::move_detail::forward_type<P7>::type
|
|
#define BOOST_MOVE_FWD_T9 BOOST_MOVE_FWD_T8, typename ::boost::move_detail::forward_type<P8>::type
|
|
|
|
//BOOST_MOVE_FWD_TQN
|
|
#define BOOST_MOVE_FWD_TQ0
|
|
#define BOOST_MOVE_FWD_TQ1 typename ::boost::move_detail::forward_type<Q0>::type
|
|
#define BOOST_MOVE_FWD_TQ2 BOOST_MOVE_FWD_TQ1, typename ::boost::move_detail::forward_type<Q1>::type
|
|
#define BOOST_MOVE_FWD_TQ3 BOOST_MOVE_FWD_TQ2, typename ::boost::move_detail::forward_type<Q2>::type
|
|
#define BOOST_MOVE_FWD_TQ4 BOOST_MOVE_FWD_TQ3, typename ::boost::move_detail::forward_type<Q3>::type
|
|
#define BOOST_MOVE_FWD_TQ5 BOOST_MOVE_FWD_TQ4, typename ::boost::move_detail::forward_type<Q4>::type
|
|
#define BOOST_MOVE_FWD_TQ6 BOOST_MOVE_FWD_TQ5, typename ::boost::move_detail::forward_type<Q5>::type
|
|
#define BOOST_MOVE_FWD_TQ7 BOOST_MOVE_FWD_TQ6, typename ::boost::move_detail::forward_type<Q6>::type
|
|
#define BOOST_MOVE_FWD_TQ8 BOOST_MOVE_FWD_TQ7, typename ::boost::move_detail::forward_type<Q7>::type
|
|
#define BOOST_MOVE_FWD_TQ9 BOOST_MOVE_FWD_TQ8, typename ::boost::move_detail::forward_type<Q8>::type
|
|
|
|
//BOOST_MOVE_MREFX
|
|
#define BOOST_MOVE_MREF0
|
|
#define BOOST_MOVE_MREF1 BOOST_MOVE_MREF(P0) m_p0;
|
|
#define BOOST_MOVE_MREF2 BOOST_MOVE_MREF1 BOOST_MOVE_MREF(P1) m_p1;
|
|
#define BOOST_MOVE_MREF3 BOOST_MOVE_MREF2 BOOST_MOVE_MREF(P2) m_p2;
|
|
#define BOOST_MOVE_MREF4 BOOST_MOVE_MREF3 BOOST_MOVE_MREF(P3) m_p3;
|
|
#define BOOST_MOVE_MREF5 BOOST_MOVE_MREF4 BOOST_MOVE_MREF(P4) m_p4;
|
|
#define BOOST_MOVE_MREF6 BOOST_MOVE_MREF5 BOOST_MOVE_MREF(P5) m_p5;
|
|
#define BOOST_MOVE_MREF7 BOOST_MOVE_MREF6 BOOST_MOVE_MREF(P6) m_p6;
|
|
#define BOOST_MOVE_MREF8 BOOST_MOVE_MREF7 BOOST_MOVE_MREF(P7) m_p7;
|
|
#define BOOST_MOVE_MREF9 BOOST_MOVE_MREF8 BOOST_MOVE_MREF(P8) m_p8;
|
|
|
|
//BOOST_MOVE_MREFQX
|
|
#define BOOST_MOVE_MREFQ0
|
|
#define BOOST_MOVE_MREFQ1 BOOST_MOVE_MREFQ(Q0) m_q0;
|
|
#define BOOST_MOVE_MREFQ2 BOOST_MOVE_MREFQ1 BOOST_MOVE_MREFQ(Q1) m_q1;
|
|
#define BOOST_MOVE_MREFQ3 BOOST_MOVE_MREFQ2 BOOST_MOVE_MREFQ(Q2) m_q2;
|
|
#define BOOST_MOVE_MREFQ4 BOOST_MOVE_MREFQ3 BOOST_MOVE_MREFQ(Q3) m_q3;
|
|
#define BOOST_MOVE_MREFQ5 BOOST_MOVE_MREFQ4 BOOST_MOVE_MREFQ(Q4) m_q4;
|
|
#define BOOST_MOVE_MREFQ6 BOOST_MOVE_MREFQ5 BOOST_MOVE_MREFQ(Q5) m_q5;
|
|
#define BOOST_MOVE_MREFQ7 BOOST_MOVE_MREFQ6 BOOST_MOVE_MREFQ(Q6) m_q6;
|
|
#define BOOST_MOVE_MREFQ8 BOOST_MOVE_MREFQ7 BOOST_MOVE_MREFQ(Q7) m_q7;
|
|
#define BOOST_MOVE_MREFQ9 BOOST_MOVE_MREFQ8 BOOST_MOVE_MREFQ(Q8) m_q8;
|
|
|
|
//BOOST_MOVE_MEMBX
|
|
#define BOOST_MOVE_MEMB0
|
|
#define BOOST_MOVE_MEMB1 P0 m_p0;
|
|
#define BOOST_MOVE_MEMB2 BOOST_MOVE_MEMB1 P1 m_p1;
|
|
#define BOOST_MOVE_MEMB3 BOOST_MOVE_MEMB2 P2 m_p2;
|
|
#define BOOST_MOVE_MEMB4 BOOST_MOVE_MEMB3 P3 m_p3;
|
|
#define BOOST_MOVE_MEMB5 BOOST_MOVE_MEMB4 P4 m_p4;
|
|
#define BOOST_MOVE_MEMB6 BOOST_MOVE_MEMB5 P5 m_p5;
|
|
#define BOOST_MOVE_MEMB7 BOOST_MOVE_MEMB6 P6 m_p6;
|
|
#define BOOST_MOVE_MEMB8 BOOST_MOVE_MEMB7 P7 m_p7;
|
|
#define BOOST_MOVE_MEMB9 BOOST_MOVE_MEMB8 P8 m_p8;
|
|
|
|
//BOOST_MOVE_MEMBQX
|
|
#define BOOST_MOVE_MEMBQ0
|
|
#define BOOST_MOVE_MEMBQ1 Q0 m_q0;
|
|
#define BOOST_MOVE_MEMBQ2 BOOST_MOVE_MEMBQ1 Q1 m_q1;
|
|
#define BOOST_MOVE_MEMBQ3 BOOST_MOVE_MEMBQ2 Q2 m_q2;
|
|
#define BOOST_MOVE_MEMBQ4 BOOST_MOVE_MEMBQ3 Q3 m_q3;
|
|
#define BOOST_MOVE_MEMBQ5 BOOST_MOVE_MEMBQ4 Q4 m_q4;
|
|
#define BOOST_MOVE_MEMBQ6 BOOST_MOVE_MEMBQ5 Q5 m_q5;
|
|
#define BOOST_MOVE_MEMBQ7 BOOST_MOVE_MEMBQ6 Q6 m_q6;
|
|
#define BOOST_MOVE_MEMBQ8 BOOST_MOVE_MEMBQ7 Q7 m_q7;
|
|
#define BOOST_MOVE_MEMBQ9 BOOST_MOVE_MEMBQ8 Q8 m_q8;
|
|
|
|
//BOOST_MOVE_TMPL_LTN
|
|
#define BOOST_MOVE_TMPL_LT0
|
|
#define BOOST_MOVE_TMPL_LT1 template<
|
|
#define BOOST_MOVE_TMPL_LT2 BOOST_MOVE_TMPL_LT1
|
|
#define BOOST_MOVE_TMPL_LT3 BOOST_MOVE_TMPL_LT1
|
|
#define BOOST_MOVE_TMPL_LT4 BOOST_MOVE_TMPL_LT1
|
|
#define BOOST_MOVE_TMPL_LT5 BOOST_MOVE_TMPL_LT1
|
|
#define BOOST_MOVE_TMPL_LT6 BOOST_MOVE_TMPL_LT1
|
|
#define BOOST_MOVE_TMPL_LT7 BOOST_MOVE_TMPL_LT1
|
|
#define BOOST_MOVE_TMPL_LT8 BOOST_MOVE_TMPL_LT1
|
|
#define BOOST_MOVE_TMPL_LT9 BOOST_MOVE_TMPL_LT1
|
|
|
|
//BOOST_MOVE_LTN
|
|
#define BOOST_MOVE_LT0
|
|
#define BOOST_MOVE_LT1 <
|
|
#define BOOST_MOVE_LT2 BOOST_MOVE_LT1
|
|
#define BOOST_MOVE_LT3 BOOST_MOVE_LT1
|
|
#define BOOST_MOVE_LT4 BOOST_MOVE_LT1
|
|
#define BOOST_MOVE_LT5 BOOST_MOVE_LT1
|
|
#define BOOST_MOVE_LT6 BOOST_MOVE_LT1
|
|
#define BOOST_MOVE_LT7 BOOST_MOVE_LT1
|
|
#define BOOST_MOVE_LT8 BOOST_MOVE_LT1
|
|
#define BOOST_MOVE_LT9 BOOST_MOVE_LT1
|
|
|
|
//BOOST_MOVE_GTN
|
|
#define BOOST_MOVE_GT0
|
|
#define BOOST_MOVE_GT1 >
|
|
#define BOOST_MOVE_GT2 BOOST_MOVE_GT1
|
|
#define BOOST_MOVE_GT3 BOOST_MOVE_GT1
|
|
#define BOOST_MOVE_GT4 BOOST_MOVE_GT1
|
|
#define BOOST_MOVE_GT5 BOOST_MOVE_GT1
|
|
#define BOOST_MOVE_GT6 BOOST_MOVE_GT1
|
|
#define BOOST_MOVE_GT7 BOOST_MOVE_GT1
|
|
#define BOOST_MOVE_GT8 BOOST_MOVE_GT1
|
|
#define BOOST_MOVE_GT9 BOOST_MOVE_GT1
|
|
|
|
//BOOST_MOVE_LPN
|
|
#define BOOST_MOVE_LP0
|
|
#define BOOST_MOVE_LP1 (
|
|
#define BOOST_MOVE_LP2 BOOST_MOVE_LP1
|
|
#define BOOST_MOVE_LP3 BOOST_MOVE_LP1
|
|
#define BOOST_MOVE_LP4 BOOST_MOVE_LP1
|
|
#define BOOST_MOVE_LP5 BOOST_MOVE_LP1
|
|
#define BOOST_MOVE_LP6 BOOST_MOVE_LP1
|
|
#define BOOST_MOVE_LP7 BOOST_MOVE_LP1
|
|
#define BOOST_MOVE_LP8 BOOST_MOVE_LP1
|
|
#define BOOST_MOVE_LP9 BOOST_MOVE_LP1
|
|
|
|
//BOOST_MOVE_RPN
|
|
#define BOOST_MOVE_RP0
|
|
#define BOOST_MOVE_RP1 )
|
|
#define BOOST_MOVE_RP2 BOOST_MOVE_RP1
|
|
#define BOOST_MOVE_RP3 BOOST_MOVE_RP1
|
|
#define BOOST_MOVE_RP4 BOOST_MOVE_RP1
|
|
#define BOOST_MOVE_RP5 BOOST_MOVE_RP1
|
|
#define BOOST_MOVE_RP6 BOOST_MOVE_RP1
|
|
#define BOOST_MOVE_RP7 BOOST_MOVE_RP1
|
|
#define BOOST_MOVE_RP8 BOOST_MOVE_RP1
|
|
#define BOOST_MOVE_RP9 BOOST_MOVE_RP1
|
|
|
|
//BOOST_MOVE_IN
|
|
#define BOOST_MOVE_I0
|
|
#define BOOST_MOVE_I1 ,
|
|
#define BOOST_MOVE_I2 BOOST_MOVE_I1
|
|
#define BOOST_MOVE_I3 BOOST_MOVE_I1
|
|
#define BOOST_MOVE_I4 BOOST_MOVE_I1
|
|
#define BOOST_MOVE_I5 BOOST_MOVE_I1
|
|
#define BOOST_MOVE_I6 BOOST_MOVE_I1
|
|
#define BOOST_MOVE_I7 BOOST_MOVE_I1
|
|
#define BOOST_MOVE_I8 BOOST_MOVE_I1
|
|
#define BOOST_MOVE_I9 BOOST_MOVE_I1
|
|
|
|
//BOOST_MOVE_BOOL
|
|
# define BOOST_MOVE_BOOL(x) BOOST_MOVE_BOOL_I(x)
|
|
# define BOOST_MOVE_BOOL_I(x) BOOST_MOVE_BOOL##x
|
|
# define BOOST_MOVE_BOOL0 0
|
|
# define BOOST_MOVE_BOOL1 1
|
|
# define BOOST_MOVE_BOOL2 1
|
|
# define BOOST_MOVE_BOOL3 1
|
|
# define BOOST_MOVE_BOOL4 1
|
|
# define BOOST_MOVE_BOOL5 1
|
|
# define BOOST_MOVE_BOOL6 1
|
|
# define BOOST_MOVE_BOOL7 1
|
|
# define BOOST_MOVE_BOOL8 1
|
|
# define BOOST_MOVE_BOOL9 1
|
|
|
|
//BOOST_MOVE_I_IF
|
|
#define BOOST_MOVE_I_IF(x) BOOST_MOVE_I_IF_I (BOOST_MOVE_BOOL(x))
|
|
#define BOOST_MOVE_I_IF_I(x) BOOST_MOVE_I_IF_I2(x)
|
|
#define BOOST_MOVE_I_IF_I2(x) BOOST_MOVE_IF_I_##x
|
|
#define BOOST_MOVE_IF_I_0
|
|
#define BOOST_MOVE_IF_I_1 ,
|
|
|
|
//BOOST_MOVE_IF
|
|
#define BOOST_MOVE_IF(cond, t, f) BOOST_MOVE_IF_I(cond, t, f)
|
|
#define BOOST_MOVE_IF_I(cond, t, f) BOOST_MOVE_IIF(BOOST_MOVE_BOOL(cond), t, f)
|
|
|
|
#define BOOST_MOVE_IIF(bit, t, f) BOOST_MOVE_IIF_I(bit, t, f)
|
|
#define BOOST_MOVE_IIF_I(bit, t, f) BOOST_MOVE_IIF_##bit(t, f)
|
|
#define BOOST_MOVE_IIF_0(t, f) f
|
|
#define BOOST_MOVE_IIF_1(t, f) t
|
|
|
|
/*
|
|
#define BOOST_MOVE_IIF(bit, t, f) BOOST_MOVE_IIF_OO((bit, t, f))
|
|
#define BOOST_MOVE_IIF_OO(par) BOOST_MOVE_IIF_I ## par
|
|
#define BOOST_MOVE_IIF_I(bit, t, f) BOOST_MOVE_IIF_II(BOOST_MOVE_IIF_ ## bit(t, f))
|
|
#define BOOST_MOVE_IIF_II(id) id
|
|
#define BOOST_MOVE_IIF_0(t, f) f
|
|
#define BOOST_MOVE_IIF_1(t, f) t
|
|
*/
|
|
|
|
//BOOST_MOVE_COLON
|
|
#define BOOST_MOVE_COLON0
|
|
#define BOOST_MOVE_COLON1 :
|
|
#define BOOST_MOVE_COLON2 BOOST_MOVE_COLON1
|
|
#define BOOST_MOVE_COLON3 BOOST_MOVE_COLON1
|
|
#define BOOST_MOVE_COLON4 BOOST_MOVE_COLON1
|
|
#define BOOST_MOVE_COLON5 BOOST_MOVE_COLON1
|
|
#define BOOST_MOVE_COLON6 BOOST_MOVE_COLON1
|
|
#define BOOST_MOVE_COLON7 BOOST_MOVE_COLON1
|
|
#define BOOST_MOVE_COLON8 BOOST_MOVE_COLON1
|
|
#define BOOST_MOVE_COLON9 BOOST_MOVE_COLON1
|
|
|
|
//BOOST_MOVE_BITOR
|
|
#define BOOST_MOVE_BITOR(x,y) BOOST_MOVE_BITOR_I(x,y)
|
|
#define BOOST_MOVE_BITOR_I(x,y) BOOST_MOVE_BITOR##x##y
|
|
#define BOOST_MOVE_BITOR00 0
|
|
#define BOOST_MOVE_BITOR01 1
|
|
#define BOOST_MOVE_BITOR10 1
|
|
#define BOOST_MOVE_BITOR11 1
|
|
|
|
//BOOST_MOVE_OR
|
|
#define BOOST_MOVE_OR(x, y) BOOST_MOVE_OR_I(x, y)
|
|
#define BOOST_MOVE_OR_I(x, y) BOOST_MOVE_BITOR(BOOST_MOVE_BOOL(x), BOOST_MOVE_BOOL(y))
|
|
|
|
//BOOST_MOVE_BITAND
|
|
#define BOOST_MOVE_BITAND(x,y) BOOST_MOVE_BITAND_I(x,y)
|
|
#define BOOST_MOVE_BITAND_I(x,y) BOOST_MOVE_BITAND##x##y
|
|
#define BOOST_MOVE_BITAND00 0
|
|
#define BOOST_MOVE_BITAND01 0
|
|
#define BOOST_MOVE_BITAND10 0
|
|
#define BOOST_MOVE_BITAND11 1
|
|
|
|
//BOOST_MOVE_AND
|
|
#define BOOST_MOVE_AND(x, y) BOOST_MOVE_AND_I(x, y)
|
|
#define BOOST_MOVE_AND_I(x, y) BOOST_MOVE_BITAND(BOOST_MOVE_BOOL(x), BOOST_MOVE_BOOL(y))
|
|
|
|
//BOOST_MOVE_DEC
|
|
#define BOOST_MOVE_DEC(x) BOOST_MOVE_DEC_I(x)
|
|
#define BOOST_MOVE_DEC_I(x) BOOST_MOVE_DEC##x
|
|
#define BOOST_MOVE_DEC1 0
|
|
#define BOOST_MOVE_DEC2 1
|
|
#define BOOST_MOVE_DEC3 2
|
|
#define BOOST_MOVE_DEC4 3
|
|
#define BOOST_MOVE_DEC5 4
|
|
#define BOOST_MOVE_DEC6 5
|
|
#define BOOST_MOVE_DEC7 6
|
|
#define BOOST_MOVE_DEC8 7
|
|
#define BOOST_MOVE_DEC9 8
|
|
#define BOOST_MOVE_DEC10 9
|
|
#define BOOST_MOVE_DEC11 10
|
|
#define BOOST_MOVE_DEC12 11
|
|
#define BOOST_MOVE_DEC13 12
|
|
#define BOOST_MOVE_DEC14 13
|
|
|
|
//BOOST_MOVE_SUB
|
|
#define BOOST_MOVE_SUB(x, y) BOOST_MOVE_SUB_I(x,y)
|
|
#define BOOST_MOVE_SUB_I(x, y) BOOST_MOVE_SUB##y(x)
|
|
#define BOOST_MOVE_SUB0(x) x
|
|
#define BOOST_MOVE_SUB1(x) BOOST_MOVE_DEC(x)
|
|
#define BOOST_MOVE_SUB2(x) BOOST_MOVE_SUB1(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB3(x) BOOST_MOVE_SUB2(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB4(x) BOOST_MOVE_SUB3(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB5(x) BOOST_MOVE_SUB4(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB6(x) BOOST_MOVE_SUB5(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB7(x) BOOST_MOVE_SUB6(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB8(x) BOOST_MOVE_SUB7(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB9(x) BOOST_MOVE_SUB8(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB10(x) BOOST_MOVE_SUB9(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB11(x) BOOST_MOVE_SUB10(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB12(x) BOOST_MOVE_SUB11(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB13(x) BOOST_MOVE_SUB12(BOOST_MOVE_DEC(x))
|
|
#define BOOST_MOVE_SUB14(x) BOOST_MOVE_SUB13(BOOST_MOVE_DEC(x))
|
|
|
|
//BOOST_MOVE_INC
|
|
#define BOOST_MOVE_INC(x) BOOST_MOVE_INC_I(x)
|
|
#define BOOST_MOVE_INC_I(x) BOOST_MOVE_INC##x
|
|
#define BOOST_MOVE_INC0 1
|
|
#define BOOST_MOVE_INC1 2
|
|
#define BOOST_MOVE_INC2 3
|
|
#define BOOST_MOVE_INC3 4
|
|
#define BOOST_MOVE_INC4 5
|
|
#define BOOST_MOVE_INC5 6
|
|
#define BOOST_MOVE_INC6 7
|
|
#define BOOST_MOVE_INC7 8
|
|
#define BOOST_MOVE_INC8 9
|
|
#define BOOST_MOVE_INC9 10
|
|
#define BOOST_MOVE_INC10 11
|
|
#define BOOST_MOVE_INC11 12
|
|
#define BOOST_MOVE_INC12 13
|
|
#define BOOST_MOVE_INC13 14
|
|
|
|
//BOOST_MOVE_ADD
|
|
#define BOOST_MOVE_ADD(x, y) BOOST_MOVE_ADD_I(x,y)
|
|
#define BOOST_MOVE_ADD_I(x, y) BOOST_MOVE_ADD##y(x)
|
|
#define BOOST_MOVE_ADD0(x) x
|
|
#define BOOST_MOVE_ADD1(x) BOOST_MOVE_INC(x)
|
|
#define BOOST_MOVE_ADD2(x) BOOST_MOVE_ADD1(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD3(x) BOOST_MOVE_ADD2(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD4(x) BOOST_MOVE_ADD3(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD5(x) BOOST_MOVE_ADD4(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD6(x) BOOST_MOVE_ADD5(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD7(x) BOOST_MOVE_ADD6(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD8(x) BOOST_MOVE_ADD7(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD9(x) BOOST_MOVE_ADD8(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD10(x) BOOST_MOVE_ADD9(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD11(x) BOOST_MOVE_ADD10(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD12(x) BOOST_MOVE_ADD11(BOOST_MOVE_INC(x))
|
|
#define BOOST_MOVE_ADD13(x) BOOST_MOVE_ADD12(BOOST_MOVE_INC(x))
|
|
|
|
//BOOST_MOVE_ITERATE_2TON
|
|
#define BOOST_MOVE_ITERATE_2TO2(MACROFUNC) MACROFUNC(2)
|
|
#define BOOST_MOVE_ITERATE_2TO3(MACROFUNC) BOOST_MOVE_ITERATE_2TO2(MACROFUNC) MACROFUNC(3)
|
|
#define BOOST_MOVE_ITERATE_2TO4(MACROFUNC) BOOST_MOVE_ITERATE_2TO3(MACROFUNC) MACROFUNC(4)
|
|
#define BOOST_MOVE_ITERATE_2TO5(MACROFUNC) BOOST_MOVE_ITERATE_2TO4(MACROFUNC) MACROFUNC(5)
|
|
#define BOOST_MOVE_ITERATE_2TO6(MACROFUNC) BOOST_MOVE_ITERATE_2TO5(MACROFUNC) MACROFUNC(6)
|
|
#define BOOST_MOVE_ITERATE_2TO7(MACROFUNC) BOOST_MOVE_ITERATE_2TO6(MACROFUNC) MACROFUNC(7)
|
|
#define BOOST_MOVE_ITERATE_2TO8(MACROFUNC) BOOST_MOVE_ITERATE_2TO7(MACROFUNC) MACROFUNC(8)
|
|
#define BOOST_MOVE_ITERATE_2TO9(MACROFUNC) BOOST_MOVE_ITERATE_2TO8(MACROFUNC) MACROFUNC(9)
|
|
|
|
//BOOST_MOVE_ITERATE_1TON
|
|
#define BOOST_MOVE_ITERATE_1TO1(MACROFUNC) MACROFUNC(1)
|
|
#define BOOST_MOVE_ITERATE_1TO2(MACROFUNC) BOOST_MOVE_ITERATE_1TO1(MACROFUNC) MACROFUNC(2)
|
|
#define BOOST_MOVE_ITERATE_1TO3(MACROFUNC) BOOST_MOVE_ITERATE_1TO2(MACROFUNC) MACROFUNC(3)
|
|
#define BOOST_MOVE_ITERATE_1TO4(MACROFUNC) BOOST_MOVE_ITERATE_1TO3(MACROFUNC) MACROFUNC(4)
|
|
#define BOOST_MOVE_ITERATE_1TO5(MACROFUNC) BOOST_MOVE_ITERATE_1TO4(MACROFUNC) MACROFUNC(5)
|
|
#define BOOST_MOVE_ITERATE_1TO6(MACROFUNC) BOOST_MOVE_ITERATE_1TO5(MACROFUNC) MACROFUNC(6)
|
|
#define BOOST_MOVE_ITERATE_1TO7(MACROFUNC) BOOST_MOVE_ITERATE_1TO6(MACROFUNC) MACROFUNC(7)
|
|
#define BOOST_MOVE_ITERATE_1TO8(MACROFUNC) BOOST_MOVE_ITERATE_1TO7(MACROFUNC) MACROFUNC(8)
|
|
#define BOOST_MOVE_ITERATE_1TO9(MACROFUNC) BOOST_MOVE_ITERATE_1TO8(MACROFUNC) MACROFUNC(9)
|
|
|
|
//BOOST_MOVE_ITERATE_0TON
|
|
#define BOOST_MOVE_ITERATE_0TO0(MACROFUNC) MACROFUNC(0)
|
|
#define BOOST_MOVE_ITERATE_0TO1(MACROFUNC) BOOST_MOVE_ITERATE_0TO0(MACROFUNC) MACROFUNC(1)
|
|
#define BOOST_MOVE_ITERATE_0TO2(MACROFUNC) BOOST_MOVE_ITERATE_0TO1(MACROFUNC) MACROFUNC(2)
|
|
#define BOOST_MOVE_ITERATE_0TO3(MACROFUNC) BOOST_MOVE_ITERATE_0TO2(MACROFUNC) MACROFUNC(3)
|
|
#define BOOST_MOVE_ITERATE_0TO4(MACROFUNC) BOOST_MOVE_ITERATE_0TO3(MACROFUNC) MACROFUNC(4)
|
|
#define BOOST_MOVE_ITERATE_0TO5(MACROFUNC) BOOST_MOVE_ITERATE_0TO4(MACROFUNC) MACROFUNC(5)
|
|
#define BOOST_MOVE_ITERATE_0TO6(MACROFUNC) BOOST_MOVE_ITERATE_0TO5(MACROFUNC) MACROFUNC(6)
|
|
#define BOOST_MOVE_ITERATE_0TO7(MACROFUNC) BOOST_MOVE_ITERATE_0TO6(MACROFUNC) MACROFUNC(7)
|
|
#define BOOST_MOVE_ITERATE_0TO8(MACROFUNC) BOOST_MOVE_ITERATE_0TO7(MACROFUNC) MACROFUNC(8)
|
|
#define BOOST_MOVE_ITERATE_0TO9(MACROFUNC) BOOST_MOVE_ITERATE_0TO8(MACROFUNC) MACROFUNC(9)
|
|
|
|
//BOOST_MOVE_ITERATE_NTON
|
|
#define BOOST_MOVE_ITERATE_1TO1(MACROFUNC) MACROFUNC(1)
|
|
#define BOOST_MOVE_ITERATE_2TO2(MACROFUNC) MACROFUNC(2)
|
|
#define BOOST_MOVE_ITERATE_3TO3(MACROFUNC) MACROFUNC(3)
|
|
#define BOOST_MOVE_ITERATE_4TO4(MACROFUNC) MACROFUNC(4)
|
|
#define BOOST_MOVE_ITERATE_5TO5(MACROFUNC) MACROFUNC(5)
|
|
#define BOOST_MOVE_ITERATE_6TO6(MACROFUNC) MACROFUNC(6)
|
|
#define BOOST_MOVE_ITERATE_7TO7(MACROFUNC) MACROFUNC(7)
|
|
#define BOOST_MOVE_ITERATE_8TO8(MACROFUNC) MACROFUNC(8)
|
|
#define BOOST_MOVE_ITERATE_9TO9(MACROFUNC) MACROFUNC(9)
|
|
|
|
//BOOST_MOVE_ITER2D_0TOMAX
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX0(MACROFUNC2D, M) MACROFUNC2D(M, 0)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX1(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX0(MACROFUNC2D, M) MACROFUNC2D(M, 1)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX2(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX1(MACROFUNC2D, M) MACROFUNC2D(M, 2)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX3(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX2(MACROFUNC2D, M) MACROFUNC2D(M, 3)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX4(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX3(MACROFUNC2D, M) MACROFUNC2D(M, 4)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX5(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX4(MACROFUNC2D, M) MACROFUNC2D(M, 5)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX6(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX5(MACROFUNC2D, M) MACROFUNC2D(M, 6)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX7(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX6(MACROFUNC2D, M) MACROFUNC2D(M, 7)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX8(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX7(MACROFUNC2D, M) MACROFUNC2D(M, 8)
|
|
#define BOOST_MOVE_ITER2DLOW_0TOMAX9(MACROFUNC2D, M) BOOST_MOVE_ITER2DLOW_0TOMAX8(MACROFUNC2D, M) MACROFUNC2D(M, 9)
|
|
|
|
#define BOOST_MOVE_ITER2D_0TOMAX0(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 0)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX1(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX0(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 1)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX2(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX1(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 2)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX3(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX2(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 3)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX4(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX3(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 4)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX5(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX4(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 5)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX6(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX5(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 6)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX7(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX6(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 7)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX8(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX7(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 8)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX9(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX8(MAX, MACROFUNC2D) BOOST_MOVE_ITER2DLOW_0TOMAX##MAX(MACROFUNC2D, 9)
|
|
|
|
#define BOOST_MOVE_ITER2D_0TOMAX(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX_I (MAX, MACROFUNC2D)
|
|
#define BOOST_MOVE_ITER2D_0TOMAX_I(MAX, MACROFUNC2D) BOOST_MOVE_ITER2D_0TOMAX##MAX(MAX, MACROFUNC2D)
|
|
|
|
|
|
|
|
|
|
//BOOST_MOVE_CAT
|
|
#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
|
|
#define BOOST_MOVE_CAT_I(a, b) a ## b
|
|
//# define BOOST_MOVE_CAT_I(a, b) BOOST_MOVE_CAT_II(~, a ## b)
|
|
//# define BOOST_MOVE_CAT_II(p, res) res
|
|
|
|
#endif //#ifndef BOOST_MOVE_DETAIL_FWD_MACROS_HPP
|