📄 vector20.hpp
字号:
}
template<>
struct at_impl< aux::vector_tag<13> >
{
template< typename V_, typename N > struct apply
{
typedef typename aux::v_at_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct front_impl< aux::vector_tag<13> >
{
template< typename Vector > struct apply
{
typedef typename Vector::item0 type;
};
};
template<>
struct back_impl< aux::vector_tag<13> >
{
template< typename Vector > struct apply
{
typedef typename Vector::back type;
};
};
template<>
struct empty_impl< aux::vector_tag<13> >
{
template< typename Vector > struct apply
: false_
{
};
};
template<>
struct size_impl< aux::vector_tag<13> >
{
template< typename Vector > struct apply
: long_<13>
{
};
};
template<>
struct O1_size_impl< aux::vector_tag<13> >
: size_impl< aux::vector_tag<13> >
{
};
template<>
struct clear_impl< aux::vector_tag<13> >
{
template< typename Vector > struct apply
{
typedef vector0<> type;
};
};
template<
typename T0, typename T1, typename T2, typename T3, typename T4
, typename T5, typename T6, typename T7, typename T8, typename T9
, typename T10, typename T11, typename T12, typename T13
>
struct vector14
{
typedef aux::vector_tag<14> tag;
typedef vector14 type;
typedef T0 item0;
typedef T1 item1;
typedef T2 item2;
typedef T3 item3;
typedef T4 item4;
typedef T5 item5;
typedef T6 item6;
typedef T7 item7;
typedef T8 item8;
typedef T9 item9;
typedef T10 item10;
typedef T11 item11;
typedef T12 item12;
typedef T13 item13;
typedef void_ item14;
typedef T13 back;
typedef v_iter< type,0 > begin;
typedef v_iter< type,14 > end;
};
template<>
struct push_front_impl< aux::vector_tag<13> >
{
template< typename Vector, typename T > struct apply
{
typedef vector14<
T
,
typename Vector::item0, typename Vector::item1
, typename Vector::item2, typename Vector::item3
, typename Vector::item4, typename Vector::item5
, typename Vector::item6, typename Vector::item7
, typename Vector::item8, typename Vector::item9
, typename Vector::item10, typename Vector::item11
, typename Vector::item12
> type;
};
};
template<>
struct pop_front_impl< aux::vector_tag<14> >
{
template< typename Vector > struct apply
{
typedef vector13<
typename Vector::item1, typename Vector::item2
, typename Vector::item3, typename Vector::item4
, typename Vector::item5, typename Vector::item6
, typename Vector::item7, typename Vector::item8
, typename Vector::item9, typename Vector::item10
, typename Vector::item11, typename Vector::item12
, typename Vector::item13
> type;
};
};
template<>
struct push_back_impl< aux::vector_tag<13> >
{
template< typename Vector, typename T > struct apply
{
typedef vector14<
typename Vector::item0, typename Vector::item1
, typename Vector::item2, typename Vector::item3
, typename Vector::item4, typename Vector::item5
, typename Vector::item6, typename Vector::item7
, typename Vector::item8, typename Vector::item9
, typename Vector::item10, typename Vector::item11
, typename Vector::item12
,
T
> type;
};
};
template<>
struct pop_back_impl< aux::vector_tag<14> >
{
template< typename Vector > struct apply
{
typedef vector13<
typename Vector::item0, typename Vector::item1
, typename Vector::item2, typename Vector::item3
, typename Vector::item4, typename Vector::item5
, typename Vector::item6, typename Vector::item7
, typename Vector::item8, typename Vector::item9
, typename Vector::item10, typename Vector::item11
, typename Vector::item12
> type;
};
};
namespace aux {
template<> struct v_at_impl<14>
{
template< typename V_ > struct result_
{
typedef typename V_::item14 type;
};
};
}
template<>
struct at_impl< aux::vector_tag<14> >
{
template< typename V_, typename N > struct apply
{
typedef typename aux::v_at_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct front_impl< aux::vector_tag<14> >
{
template< typename Vector > struct apply
{
typedef typename Vector::item0 type;
};
};
template<>
struct back_impl< aux::vector_tag<14> >
{
template< typename Vector > struct apply
{
typedef typename Vector::back type;
};
};
template<>
struct empty_impl< aux::vector_tag<14> >
{
template< typename Vector > struct apply
: false_
{
};
};
template<>
struct size_impl< aux::vector_tag<14> >
{
template< typename Vector > struct apply
: long_<14>
{
};
};
template<>
struct O1_size_impl< aux::vector_tag<14> >
: size_impl< aux::vector_tag<14> >
{
};
template<>
struct clear_impl< aux::vector_tag<14> >
{
template< typename Vector > struct apply
{
typedef vector0<> type;
};
};
template<
typename T0, typename T1, typename T2, typename T3, typename T4
, typename T5, typename T6, typename T7, typename T8, typename T9
, typename T10, typename T11, typename T12, typename T13, typename T14
>
struct vector15
{
typedef aux::vector_tag<15> tag;
typedef vector15 type;
typedef T0 item0;
typedef T1 item1;
typedef T2 item2;
typedef T3 item3;
typedef T4 item4;
typedef T5 item5;
typedef T6 item6;
typedef T7 item7;
typedef T8 item8;
typedef T9 item9;
typedef T10 item10;
typedef T11 item11;
typedef T12 item12;
typedef T13 item13;
typedef T14 item14;
typedef void_ item15;
typedef T14 back;
typedef v_iter< type,0 > begin;
typedef v_iter< type,15 > end;
};
template<>
struct push_front_impl< aux::vector_tag<14> >
{
template< typename Vector, typename T > struct apply
{
typedef vector15<
T
,
typename Vector::item0, typename Vector::item1
, typename Vector::item2, typename Vector::item3
, typename Vector::item4, typename Vector::item5
, typename Vector::item6, typename Vector::item7
, typename Vector::item8, typename Vector::item9
, typename Vector::item10, typename Vector::item11
, typename Vector::item12, typename Vector::item13
> type;
};
};
template<>
struct pop_front_impl< aux::vector_tag<15> >
{
template< typename Vector > struct apply
{
typedef vector14<
typename Vector::item1, typename Vector::item2
, typename Vector::item3, typename Vector::item4
, typename Vector::item5, typename Vector::item6
, typename Vector::item7, typename Vector::item8
, typename Vector::item9, typename Vector::item10
, typename Vector::item11, typename Vector::item12
, typename Vector::item13, typename Vector::item14
> type;
};
};
template<>
struct push_back_impl< aux::vector_tag<14> >
{
template< typename Vector, typename T > struct apply
{
typedef vector15<
typename Vector::item0, typename Vector::item1
, typename Vector::item2, typename Vector::item3
, typename Vector::item4, typename Vector::item5
, typename Vector::item6, typename Vector::item7
, typename Vector::item8, typename Vector::item9
, typename Vector::item10, typename Vector::item11
, typename Vector::item12, typename Vector::item13
,
T
> type;
};
};
template<>
struct pop_back_impl< aux::vector_tag<15> >
{
template< typename Vector > struct apply
{
typedef vector14<
typename Vector::item0, typename Vector::item1
, typename Vector::item2, typename Vector::item3
, typename Vector::item4, typename Vector::item5
, typename Vector::item6, typename Vector::item7
, typename Vector::item8, typename Vector::item9
, typename Vector::item10, typename Vector::item11
, typename Vector::item12, typename Vector::item13
> type;
};
};
namespace aux {
template<> struct v_at_impl<15>
{
template< typename V_ > struct result_
{
typedef typename V_::item15 type;
};
};
}
template<>
struct at_impl< aux::vector_tag<15> >
{
template< typename V_, typename N > struct apply
{
typedef typename aux::v_at_impl<BOOST_MPL_AUX_VALUE_WKND(N)::value>
::template result_<V_>::type type;
};
};
template<>
struct front_impl< aux::vector_tag<15> >
{
template< typename Vector > struct apply
{
typedef typename Vector::item0 type;
};
};
template<>
struct back_impl< aux::vector_tag<15> >
{
template< typename Vector > struct apply
{
typedef typename Vector::back type;
};
};
template<>
struct empty_impl< aux::vector_tag<15> >
{
template< typename Vector > struct apply
: false_
{
};
};
template<>
struct size_impl< aux::vector_tag<15> >
{
template< typename Vector > struct apply
: long_<15>
{
};
};
template<>
struct O1_size_impl< aux::vector_tag<15> >
: size_impl< aux::vector_tag<15> >
{
};
template<>
struct clear_impl< aux::vector_tag<15> >
{
template< typename Vector > struct apply
{
typedef vector0<> type;
};
};
template<
typename T0, typename T1, typename T2, typename T3, typename T4
, typename T5, typename T6, typename T7, typename T8, typename T9
, typename T10, typename T11, typename T12, typename T13, typename T14
, typename T15
>
struct vector16
{
typedef aux::vector_tag<16> tag;
typedef vector16 type;
typedef T0 item0;
typedef T1 item1;
typedef T2 item2;
typedef T3 item3;
typedef T4 item4;
typedef T5 item5;
typedef T6 item6;
typedef T7 item7;
typedef T8 item8;
typedef T9 item9;
typedef T10 item10;
typedef T11 item11;
typedef T12 item12;
typedef T13 item13;
typedef T14 item14;
typedef T15 item15;
typedef void_ item16;
typedef T15 back;
typedef v_iter< type,0 > begin;
typedef v_iter< type,16 > end;
};
template<>
struct push_front_impl< aux::vector_tag<15> >
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -