📄 vector10.hpp
字号:
// preprocessed version of 'boost/mpl/vector/vector10.hpp' header
// see the original for copyright information
namespace boost {
namespace mpl {
namespace aux {
template<> struct vector_item_impl<0>
{
template< typename V_ > struct result_
{
typedef typename V_::item0 type;
};
};
}
template<>
struct at_traits< aux::vector_tag< 0> >
{
template< typename V_, typename N > struct algorithm
{
typedef typename aux::vector_item_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct size_traits< aux::vector_tag< 0> >
{
template< typename Vector > struct algorithm
: integral_c< long,0 >
{
};
};
template<>
struct O1_size_traits< aux::vector_tag< 0> >
: size_traits< aux::vector_tag< 0> >
{
};
template<>
struct clear_traits< aux::vector_tag< 0> >
{
template< typename Vector > struct algorithm
{
typedef vector0<> type;
};
};
template<
typename T0
>
struct vector1
{
typedef aux::vector_tag<1> tag;
typedef vector1 type;
typedef T0 item0;
typedef void_ item1;
typedef T0 back;
typedef vector_iterator< type,integral_c<long,0> > begin;
typedef vector_iterator< type,integral_c<long,1> > end;
};
template<>
struct push_front_traits< aux::vector_tag< 0> >
{
template< typename Vector, typename T > struct algorithm
{
typedef vector1<
T
> type;
};
};
template<>
struct pop_front_traits< aux::vector_tag< 1> >
{
template< typename Vector > struct algorithm
{
typedef vector0<
> type;
};
};
namespace aux {
template<> struct vector_item_impl<1>
{
template< typename V_ > struct result_
{
typedef typename V_::item1 type;
};
};
}
template<>
struct at_traits< aux::vector_tag< 1> >
{
template< typename V_, typename N > struct algorithm
{
typedef typename aux::vector_item_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct front_traits< aux::vector_tag< 1> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::item0 type;
};
};
template<>
struct back_traits< aux::vector_tag< 1> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::back type;
};
};
template<>
struct empty_traits< aux::vector_tag< 1> >
{
template< typename Vector > struct algorithm
: false_
{
};
};
template<>
struct size_traits< aux::vector_tag< 1> >
{
template< typename Vector > struct algorithm
: integral_c< long,1 >
{
};
};
template<>
struct O1_size_traits< aux::vector_tag< 1> >
: size_traits< aux::vector_tag< 1> >
{
};
template<>
struct clear_traits< aux::vector_tag< 1> >
{
template< typename Vector > struct algorithm
{
typedef vector0<> type;
};
};
template<
typename T0, typename T1
>
struct vector2
{
typedef aux::vector_tag<2> tag;
typedef vector2 type;
typedef T0 item0;
typedef T1 item1;
typedef void_ item2;
typedef T1 back;
typedef vector_iterator< type,integral_c<long,0> > begin;
typedef vector_iterator< type,integral_c<long,2> > end;
};
template<>
struct push_front_traits< aux::vector_tag< 1> >
{
template< typename Vector, typename T > struct algorithm
{
typedef vector2<
T
,
typename Vector::item0
> type;
};
};
template<>
struct pop_front_traits< aux::vector_tag< 2> >
{
template< typename Vector > struct algorithm
{
typedef vector1<
typename Vector::item1
> type;
};
};
namespace aux {
template<> struct vector_item_impl<2>
{
template< typename V_ > struct result_
{
typedef typename V_::item2 type;
};
};
}
template<>
struct at_traits< aux::vector_tag< 2> >
{
template< typename V_, typename N > struct algorithm
{
typedef typename aux::vector_item_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct front_traits< aux::vector_tag< 2> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::item0 type;
};
};
template<>
struct back_traits< aux::vector_tag< 2> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::back type;
};
};
template<>
struct empty_traits< aux::vector_tag< 2> >
{
template< typename Vector > struct algorithm
: false_
{
};
};
template<>
struct size_traits< aux::vector_tag< 2> >
{
template< typename Vector > struct algorithm
: integral_c< long,2 >
{
};
};
template<>
struct O1_size_traits< aux::vector_tag< 2> >
: size_traits< aux::vector_tag< 2> >
{
};
template<>
struct clear_traits< aux::vector_tag< 2> >
{
template< typename Vector > struct algorithm
{
typedef vector0<> type;
};
};
template<
typename T0, typename T1, typename T2
>
struct vector3
{
typedef aux::vector_tag<3> tag;
typedef vector3 type;
typedef T0 item0;
typedef T1 item1;
typedef T2 item2;
typedef void_ item3;
typedef T2 back;
typedef vector_iterator< type,integral_c<long,0> > begin;
typedef vector_iterator< type,integral_c<long,3> > end;
};
template<>
struct push_front_traits< aux::vector_tag< 2> >
{
template< typename Vector, typename T > struct algorithm
{
typedef vector3<
T
,
typename Vector::item0, typename Vector::item1
> type;
};
};
template<>
struct pop_front_traits< aux::vector_tag< 3> >
{
template< typename Vector > struct algorithm
{
typedef vector2<
typename Vector::item1, typename Vector::item2
> type;
};
};
namespace aux {
template<> struct vector_item_impl<3>
{
template< typename V_ > struct result_
{
typedef typename V_::item3 type;
};
};
}
template<>
struct at_traits< aux::vector_tag< 3> >
{
template< typename V_, typename N > struct algorithm
{
typedef typename aux::vector_item_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct front_traits< aux::vector_tag< 3> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::item0 type;
};
};
template<>
struct back_traits< aux::vector_tag< 3> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::back type;
};
};
template<>
struct empty_traits< aux::vector_tag< 3> >
{
template< typename Vector > struct algorithm
: false_
{
};
};
template<>
struct size_traits< aux::vector_tag< 3> >
{
template< typename Vector > struct algorithm
: integral_c< long,3 >
{
};
};
template<>
struct O1_size_traits< aux::vector_tag< 3> >
: size_traits< aux::vector_tag< 3> >
{
};
template<>
struct clear_traits< aux::vector_tag< 3> >
{
template< typename Vector > struct algorithm
{
typedef vector0<> type;
};
};
template<
typename T0, typename T1, typename T2, typename T3
>
struct vector4
{
typedef aux::vector_tag<4> tag;
typedef vector4 type;
typedef T0 item0;
typedef T1 item1;
typedef T2 item2;
typedef T3 item3;
typedef void_ item4;
typedef T3 back;
typedef vector_iterator< type,integral_c<long,0> > begin;
typedef vector_iterator< type,integral_c<long,4> > end;
};
template<>
struct push_front_traits< aux::vector_tag< 3> >
{
template< typename Vector, typename T > struct algorithm
{
typedef vector4<
T
,
typename Vector::item0, typename Vector::item1
, typename Vector::item2
> type;
};
};
template<>
struct pop_front_traits< aux::vector_tag< 4> >
{
template< typename Vector > struct algorithm
{
typedef vector3<
typename Vector::item1, typename Vector::item2
, typename Vector::item3
> type;
};
};
namespace aux {
template<> struct vector_item_impl<4>
{
template< typename V_ > struct result_
{
typedef typename V_::item4 type;
};
};
}
template<>
struct at_traits< aux::vector_tag< 4> >
{
template< typename V_, typename N > struct algorithm
{
typedef typename aux::vector_item_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct front_traits< aux::vector_tag< 4> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::item0 type;
};
};
template<>
struct back_traits< aux::vector_tag< 4> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::back type;
};
};
template<>
struct empty_traits< aux::vector_tag< 4> >
{
template< typename Vector > struct algorithm
: false_
{
};
};
template<>
struct size_traits< aux::vector_tag< 4> >
{
template< typename Vector > struct algorithm
: integral_c< long,4 >
{
};
};
template<>
struct O1_size_traits< aux::vector_tag< 4> >
: size_traits< aux::vector_tag< 4> >
{
};
template<>
struct clear_traits< aux::vector_tag< 4> >
{
template< typename Vector > struct algorithm
{
typedef vector0<> type;
};
};
template<
typename T0, typename T1, typename T2, typename T3, typename T4
>
struct vector5
{
typedef aux::vector_tag<5> tag;
typedef vector5 type;
typedef T0 item0;
typedef T1 item1;
typedef T2 item2;
typedef T3 item3;
typedef T4 item4;
typedef void_ item5;
typedef T4 back;
typedef vector_iterator< type,integral_c<long,0> > begin;
typedef vector_iterator< type,integral_c<long,5> > end;
};
template<>
struct push_front_traits< aux::vector_tag< 4> >
{
template< typename Vector, typename T > struct algorithm
{
typedef vector5<
T
,
typename Vector::item0, typename Vector::item1
, typename Vector::item2, typename Vector::item3
> type;
};
};
template<>
struct pop_front_traits< aux::vector_tag< 5> >
{
template< typename Vector > struct algorithm
{
typedef vector4<
typename Vector::item1, typename Vector::item2
, typename Vector::item3, typename Vector::item4
> type;
};
};
namespace aux {
template<> struct vector_item_impl<5>
{
template< typename V_ > struct result_
{
typedef typename V_::item5 type;
};
};
}
template<>
struct at_traits< aux::vector_tag< 5> >
{
template< typename V_, typename N > struct algorithm
{
typedef typename aux::vector_item_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct front_traits< aux::vector_tag< 5> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::item0 type;
};
};
template<>
struct back_traits< aux::vector_tag< 5> >
{
template< typename Vector > struct algorithm
{
typedef typename Vector::back type;
};
};
template<>
struct empty_traits< aux::vector_tag< 5> >
{
template< typename Vector > struct algorithm
: false_
{
};
};
template<>
struct size_traits< aux::vector_tag< 5> >
{
template< typename Vector > struct algorithm
: integral_c< long,5 >
{
};
};
template<>
struct O1_size_traits< aux::vector_tag< 5> >
: size_traits< aux::vector_tag< 5> >
{
};
template<>
struct clear_traits< aux::vector_tag< 5> >
{
template< typename Vector > struct algorithm
{
typedef vector0<> type;
};
};
template<
typename T0, typename T1, typename T2, typename T3, typename T4
, typename T5
>
struct vector6
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -