the following fails to compile. Should it?
--
#include boost/mpl/vector.hpp
#include boost/mpl/push_back.hpp
namespace mpl = boost::mpl;
typedef mpl::vectorint[1], int[2], int[3], int[4], int[5], int[6], int[7], int[8],
int[9], int[10] v10;
typedef mpl::push_backv10, int[11]::type v11;
--
foo.cpp: In instantiation of `boost::mpl::push_backv10, int[11]':
foo.cpp:9: base
`boost::mpl::push_back_traitsboost::mpl::aux::vector_tag9 ::algorithmv10,
int[11]'
has incomplete type
foo.cpp:9: syntax error before `;' token
foo.cpp: In function `int main()':
foo.cpp:12: `v11' undeclared (first use this function)
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
___
Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost