Sign in to follow this  
Dragon_Strike

simplyfying class template with vector_c

Recommended Posts

Dragon_Strike    264
right now ive got a class "Event" that takes a vector_c as template arguments... it loks something like this win32::Event<boost::mpl::vector_c<UINT, WM_MOUSEMOVE, WM_WM_MOUSEWHEEL>> onMouseMove; it works fine... but there is alot of extra syntax thats not rly needed... is there any good way i can modify "Event" to allow this... win32::Event<WM_MOUSEMOVE, WM_MOUSEWHEEL> onMouseMove; skipping all the extra syntax and still giving me a vector_c inside the class /// template <class F> class Event { /***** *****/ }

Share this post


Link to post
Share on other sites
fastcall22    10838
Don't think it's possible; it would be ambiguous. As far as I know, you can use typedef's:


typedef win32::Event<boost::mpl::vector_c<UINT, WM_MOUSEMOVE, WM_WM_MOUSEWHEEL>> event_mouse;

event_mouse t;


Share this post


Link to post
Share on other sites
Zahlman    1682
Quote:
Original post by Dragon_Strike
right now ive got a class "Event" that takes a vector_c as template arguments...

it loks something like this

win32::Event<boost::mpl::vector_c<UINT, WM_MOUSEMOVE, WM_WM_MOUSEWHEEL>> onMouseMove;

it works fine... but there is alot of extra syntax thats not rly needed... is there any good way i can modify "Event" to allow this...

win32::Event<WM_MOUSEMOVE, WM_MOUSEWHEEL> onMouseMove;

skipping all the extra syntax and still giving me a vector_c inside the class


This is as close as you can get to "templated typedefs" in C++ currently:


template <typename T1, typename T2>
struct MyEvent {
typedef win32::Event<boost::mpl::vector_c<UINT, T1, T2> > type;
};

MyEvent<WM_MOUSEMOVE, WM_MOUSEWHEEL>::type onMouseMove;

// or, "complete" the typedef:
typedef typename MyEvent<WM_MOUSEMOVE, WM_MOUSEWHEEL>::type mouseMoveEvent;
mouseMoveEvent onMouseMove;

Share this post


Link to post
Share on other sites
Dragon_Strike    264
i tried this...



template <UINT P0,
UINT P1 = 0, UINT P2 = 0, UINT P3 = 0, UINT P4 = 0, UINT P5 = 0,
UINT P6 = 0, UINT P7 = 0, UINT P8 = 0, UINT P9 = 0, UINT P10 = 0,
UINT P11 = 0, UINT P12 = 0, UINT P13 = 0, UINT P14 = 0, UINT P15 = 0>
class Event : public base::Event
{
typedef boost::mpl::vector_c<UINT, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15>::type V;
typedef boost::mpl::remove_if<V, boost::mpl::equal_to<boost::mpl::_,0> >::type F;




bu it doesnt work... why is that?



i get alot of errors...


1>------ Build started: Project: Drone, Configuration: Debug Win32 ------
1>Compiling...
1>Win32Application.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : warning C4346: 'boost::mpl::vector_c<UINT,P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1> p:\programmering\projects\drone\drone\drone\Win32Event.hpp(58) : see reference to class template instantiation 'drone::win32::Event<P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>' being compiled
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C2146: syntax error : missing ';' before identifier 'V'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2065: 'V' : undeclared identifier
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2974: 'boost::mpl::equal_to' : invalid template argument for 'N2', type expected
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : warning C4346: 'boost::mpl::fold<Sequence,State,ForwardOp>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2146: syntax error : missing ';' before identifier 'F'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2838: 'type' : illegal qualified name in member declaration
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2974: 'boost::mpl::equal_to' : invalid template argument for 'N2', type expected
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1> p:\programmering\projects\drone\drone\drone\Win32Application.hpp(73) : see reference to class template instantiation 'drone::win32::Event<P0,P1,P2>' being compiled
1> with
1> [
1> P0=260,
1> P1=257,
1> P2=261
1> ]
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C3203: 'equal_to' : unspecialized class template can't be used as a template argument for template parameter 'P2', expected a real type
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2955: 'boost::mpl::equal_to' : use of class template requires template argument list
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1>C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp(38) : error C2825: 'F': must be a class or namespace when followed by '::'
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/apply.hpp(43) : see reference to class template instantiation 'boost::mpl::apply_wrap1<F,T1>' being compiled
1> with
1> [
1> F=int,
1> T1=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/remove_if.hpp(36) : see reference to class template instantiation 'boost::mpl::apply1<F,T1>' being compiled
1> with
1> [
1> F=int,
1> T1=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp(49) : see reference to class template instantiation 'boost::mpl::aux::remove_if_helper<Pred,InsertOp>::apply<Sequence,U>' being compiled
1> with
1> [
1> Pred=int,
1> InsertOp=boost::mpl::push_back<boost::mpl::na,boost::mpl::na>,
1> Sequence=boost::mpl::vector0<boost::mpl::na>,
1> U=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/apply.hpp(63) : see reference to class template instantiation 'boost::mpl::apply_wrap2<F,T1,T2>' being compiled
1> with
1> [
1> F=boost::mpl::protect<boost::mpl::aux::remove_if_helper<int,boost::mpl::push_back<boost::mpl::na,boost::mpl::na>>>,
1> T1=boost::mpl::vector0<boost::mpl::na>,
1> T2=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/fold_impl.hpp(109) : see reference to class template instantiation 'boost::mpl::apply2<F,T1,T2>' being compiled
1> with
1> [
1> F=boost::mpl::protect<boost::mpl::aux::remove_if_helper<int,boost::mpl::push_back<boost::mpl::na,boost::mpl::na>>>,
1> T1=boost::mpl::vector0<boost::mpl::na>,
1> T2=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/fold_impl.hpp(142) : see reference to class template instantiation 'boost::mpl::aux::fold_impl<N,First,Last,State,ForwardOp>' being compiled
1> with
1> [
1> N=4,
1> First=boost::mpl::v_iter<boost::mpl::vector16<boost::mpl::integral_c<UINT,260>,boost::mpl::integral_c<UINT,257>,boost::mpl::integral_c<UINT,261>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>>,0>,
1> Last=boost::mpl::v_iter<boost::mpl::vector16<boost::mpl::integral_c<UINT,260>,boost::mpl::integral_c<UINT,257>,boost::mpl::integral_c<UINT,261>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>>,16>,
1> State=boost::mpl::vector0<boost::mpl::na>,
1> ForwardOp=boost::mpl::protect<boost::mpl::aux::remove_if_helper<int,boost::mpl::push_back<boost::mpl::na,boost::mpl::na>>>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/fold.hpp(39) : see reference to class template instantiation 'boost::mpl::aux::fold_impl<N,First,Last,State,ForwardOp>' being compiled
1> with
1> [
1> N=16,
1> First=boost::mpl::v_iter<boost::mpl::vector16<boost::mpl::integral_c<UINT,260>,boost::mpl::integral_c<UINT,257>,boost::mpl::integral_c<UINT,261>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>>,0>,
1> Last=boost::mpl::v_iter<boost::mpl::vector16<boost::mpl::integral_c<UINT,260>,boost::mpl::integral_c<UINT,257>,boost::mpl::integral_c<UINT,261>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>>,16>,
1> State=boost::mpl::vector0<boost::mpl::na>,
1> ForwardOp=boost::mpl::protect<boost::mpl::aux::remove_if_helper<int,boost::mpl::push_back<boost::mpl::na,boost::mpl::na>>>
1> ]
1>Win32Window.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : warning C4346: 'boost::mpl::vector_c<UINT,P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1> p:\programmering\projects\drone\drone\drone\Win32Event.hpp(58) : see reference to class template instantiation 'drone::win32::Event<P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>' being compiled
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C2146: syntax error : missing ';' before identifier 'V'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2065: 'V' : undeclared identifier
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2974: 'boost::mpl::equal_to' : invalid template argument for 'N2', type expected
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : warning C4346: 'boost::mpl::fold<Sequence,State,ForwardOp>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2146: syntax error : missing ';' before identifier 'F'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2838: 'type' : illegal qualified name in member declaration
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D3D10RenderDevice.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : warning C4346: 'boost::mpl::vector_c<UINT,P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1> p:\programmering\projects\drone\drone\drone\Win32Event.hpp(58) : see reference to class template instantiation 'drone::win32::Event<P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>' being compiled
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C2146: syntax error : missing ';' before identifier 'V'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2065: 'V' : undeclared identifier
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2974: 'boost::mpl::equal_to' : invalid template argument for 'N2', type expected
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : warning C4346: 'boost::mpl::fold<Sequence,State,ForwardOp>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2146: syntax error : missing ';' before identifier 'F'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2838: 'type' : illegal qualified name in member declaration
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D3DFont.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : warning C4346: 'boost::mpl::vector_c<UINT,P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1> p:\programmering\projects\drone\drone\drone\Win32Event.hpp(58) : see reference to class template instantiation 'drone::win32::Event<P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>' being compiled
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C2146: syntax error : missing ';' before identifier 'V'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2065: 'V' : undeclared identifier
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2974: 'boost::mpl::equal_to' : invalid template argument for 'N2', type expected
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : warning C4346: 'boost::mpl::fold<Sequence,State,ForwardOp>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2146: syntax error : missing ';' before identifier 'F'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2838: 'type' : illegal qualified name in member declaration
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Demo1.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : warning C4346: 'boost::mpl::vector_c<UINT,P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1> p:\programmering\projects\drone\drone\drone\Win32Event.hpp(58) : see reference to class template instantiation 'drone::win32::Event<P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15>' being compiled
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C2146: syntax error : missing ';' before identifier 'V'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2065: 'V' : undeclared identifier
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2974: 'boost::mpl::equal_to' : invalid template argument for 'N2', type expected
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : warning C4346: 'boost::mpl::fold<Sequence,State,ForwardOp>::type' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2146: syntax error : missing ';' before identifier 'F'
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2838: 'type' : illegal qualified name in member declaration
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2974: 'boost::mpl::equal_to' : invalid template argument for 'N2', type expected
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1> p:\programmering\projects\drone\drone\drone\Win32Application.hpp(73) : see reference to class template instantiation 'drone::win32::Event<P0,P1,P2>' being compiled
1> with
1> [
1> P0=260,
1> P1=257,
1> P2=261
1> ]
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C3203: 'equal_to' : unspecialized class template can't be used as a template argument for template parameter 'P2', expected a real type
1>p:\programmering\projects\drone\drone\drone\Win32Event.hpp(43) : error C2955: 'boost::mpl::equal_to' : use of class template requires template argument list
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/equal_to.hpp(69) : see declaration of 'boost::mpl::equal_to'
1>C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp(38) : error C2825: 'F': must be a class or namespace when followed by '::'
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/apply.hpp(43) : see reference to class template instantiation 'boost::mpl::apply_wrap1<F,T1>' being compiled
1> with
1> [
1> F=int,
1> T1=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/remove_if.hpp(36) : see reference to class template instantiation 'boost::mpl::apply1<F,T1>' being compiled
1> with
1> [
1> F=int,
1> T1=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp(49) : see reference to class template instantiation 'boost::mpl::aux::remove_if_helper<Pred,InsertOp>::apply<Sequence,U>' being compiled
1> with
1> [
1> Pred=int,
1> InsertOp=boost::mpl::push_back<boost::mpl::na,boost::mpl::na>,
1> Sequence=boost::mpl::vector0<boost::mpl::na>,
1> U=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/apply.hpp(63) : see reference to class template instantiation 'boost::mpl::apply_wrap2<F,T1,T2>' being compiled
1> with
1> [
1> F=boost::mpl::protect<boost::mpl::aux::remove_if_helper<int,boost::mpl::push_back<boost::mpl::na,boost::mpl::na>>>,
1> T1=boost::mpl::vector0<boost::mpl::na>,
1> T2=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/fold_impl.hpp(109) : see reference to class template instantiation 'boost::mpl::apply2<F,T1,T2>' being compiled
1> with
1> [
1> F=boost::mpl::protect<boost::mpl::aux::remove_if_helper<int,boost::mpl::push_back<boost::mpl::na,boost::mpl::na>>>,
1> T1=boost::mpl::vector0<boost::mpl::na>,
1> T2=boost::mpl::integral_c<UINT,260>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/aux_/preprocessed/plain/fold_impl.hpp(142) : see reference to class template instantiation 'boost::mpl::aux::fold_impl<N,First,Last,State,ForwardOp>' being compiled
1> with
1> [
1> N=4,
1> First=boost::mpl::v_iter<boost::mpl::vector16<boost::mpl::integral_c<UINT,260>,boost::mpl::integral_c<UINT,257>,boost::mpl::integral_c<UINT,261>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>>,0>,
1> Last=boost::mpl::v_iter<boost::mpl::vector16<boost::mpl::integral_c<UINT,260>,boost::mpl::integral_c<UINT,257>,boost::mpl::integral_c<UINT,261>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>>,16>,
1> State=boost::mpl::vector0<boost::mpl::na>,
1> ForwardOp=boost::mpl::protect<boost::mpl::aux::remove_if_helper<int,boost::mpl::push_back<boost::mpl::na,boost::mpl::na>>>
1> ]
1> C:\Program Files\boost\boost_1_34_1\boost/mpl/fold.hpp(39) : see reference to class template instantiation 'boost::mpl::aux::fold_impl<N,First,Last,State,ForwardOp>' being compiled
1> with
1> [
1> N=16,
1> First=boost::mpl::v_iter<boost::mpl::vector16<boost::mpl::integral_c<UINT,260>,boost::mpl::integral_c<UINT,257>,boost::mpl::integral_c<UINT,261>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>>,0>,
1> Last=boost::mpl::v_iter<boost::mpl::vector16<boost::mpl::integral_c<UINT,260>,boost::mpl::integral_c<UINT,257>,boost::mpl::integral_c<UINT,261>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>,boost::mpl::integral_c<size_t,0>>,16>,
1> State=boost::mpl::vector0<boost::mpl::na>,
1> ForwardOp=boost::mpl::protect<boost::mpl::aux::remove_if_helper<int,boost::mpl::push_back<boost::mpl::na,boost::mpl::na>>>
1> ]
1>Generating Code...
1>Build log was saved at "file://p:\Programmering\Projects\Drone\Drone\Drone\Debug\BuildLog.htm"
1>Drone - 43 error(s), 10 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this