GCC 4.1 (Windows)

BOOST_STATIC_ASSERT

../main.cpp:89: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
../main.cpp: In instantiation of 'tests::class_scope<std::_List_iterator<int> >':
../main.cpp:158:   instantiated from here
../main.cpp:150: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'

BOOST_MPL_ASSERT


../main.cpp:90: error: no matching function for call to 'assertion_failed(mpl_::failed************ tests::bool_value<false>::************)'
../main.cpp: In instantiation of 'tests::class_scope<std::_List_iterator<int> >':
../main.cpp:158:   instantiated from here
../main.cpp:151: error: no matching function for call to 'assertion_failed(mpl_::failed************ tests::is_random_access<std::bidirectional_iterator_tag>::************)'

BOOST_MPL_ASSERT_MSG


../main.cpp:91: error: no matching function for call to 'assertion_failed(mpl_::failed************ (tests::NAMESPACE_ASSERT::************)(int))'
../main.cpp: In instantiation of 'tests::class_scope<std::_List_iterator<int> >':
../main.cpp:158:   instantiated from here
../main.cpp:152: error: 'tests::bool_value<false>::value' is not a valid template argument for type 'bool' because it is a non-constant expression
../main.cpp:152: error: no matching function for call to 'assertion_failed(mpl_::failed************ (tests::class_scope<std::_List_iterator<int> >::NOT_RANDOM_ACCESS::************)(std::_List_iterator<int>, std::bidirectional_iterator_tag))'
../main.cpp: In function 'int tests::function(const type_&) [with type_ = void*]':
../main.cpp:127:   instantiated from here
../main.cpp:117: error: 'tests::bool_value<true>::value' is not a valid template argument for type 'bool' because it is a non-constant expression
../main.cpp:117: error: no matching function for call to 'assertion_failed(mpl_::failed************ (tests::function(const type_&) [with type_ = void*]::NOT_POINTER::************)(void*))'

Tyring 3.3 because strange error at line 117 above

C:\Mina dokument\c++\test\terminal\win-gcc>make c=3.3
win intel32 debug gcc-3.3
../main.cpp:91: error: conversion from `
   mpl_::failed************(tests::NAMESPACE_ASSERT::************)(int)' to
   non-scalar type `mpl_::assert<false>' requested
../main.cpp:91: error: enumerator value for `mpl_assertion_in_line_91' not
   integer constant
../main.cpp: In instantiation of `tests::class_scope<std::_List_iterator<int, int&, int*> >':
../main.cpp:158:   instantiated from here
../main.cpp:152: error: conversion from `
   mpl_::failed************(tests::class_scope<std::_List_iterator<int, int&,
   int*> >::NOT_RANDOM_ACCESS::************)(std::_List_iterator<int, int&,
   int*>, std::bidirectional_iterator_tag)' to non-scalar type `
   mpl_::assert<false>' requested
../main.cpp:152: error: enumerator value for `mpl_assertion_in_line_152' not
   integer constant
make: *** [debug] Error 1

kuodo::types::assert


../main.cpp:92: error: 'assert' is not a member of 'kuodo::types::assertion<false>'
../main.cpp:92: error: template argument 2 is invalid
../main.cpp:92: error: invalid type in declaration before ';' token
../main.cpp: In instantiation of 'tests::class_scope<std::_List_iterator<int> >':
../main.cpp:158:   instantiated from here
../main.cpp:153: error: 'assert' is not a member of 'kuodo::types::assertion<false>'

kuodo::types::type_assert


../main.cpp:93: error: 'assert' is not a member of 'tests::namespace_assert<int>'
../main.cpp:93: error: template argument 2 is invalid
../main.cpp:93: error: invalid type in declaration before ';' token
../main.cpp: In instantiation of 'tests::class_scope<std::_List_iterator<int> >':
../main.cpp:158:   instantiated from here
../main.cpp:154: error: 'assert' is not a member of 'tests::class_scope<std::_List_iterator<int> >::not_random_access<std::bidirectional_iterator_tag>'