BOOST_CHECK_EQUAL( c3.size(), 13u );
#endif
+#if !defined( BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS )
+ C c4;
+ c4 = ba::list_of(1)(2)(3)(4);
+ BOOST_CHECK_EQUAL( c4.size(), 4u );
+ C c5(ba::list_of(1)(2)(3)(4)(5));
+ BOOST_CHECK_EQUAL( c5.size(), 5u );
+#endif
+
#endif
parameter_list p( ba::list_of(1)(2), 3u );
{
ba::list_of< five >(1,2,3,4,5)(6,7,8,9,10);
-/* Maybe this could be usefull in a later version?
+/* Maybe this could be useful in a later version?
// an anonymous lists, fulfills Range concept
for_each( ba::list_of( T() )( T() )( T() ) );
}
//
-// @remark: ADL is required here, but it is a bit wierd to
+// @remark: ADL is required here, but it is a bit weird to
// open up namespace std. Perhaps Boost.Test needs a
// better configuration option.
//