Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-10-11 11:33:44


Hi,

while while making regressing tests for type_traits library on MSVC I
got into 2 issues:
   1. cv_traits_test gives 4 errors instead of 3

checking value of boost::is_const<const void>::value...failed
 found: 0 expected 1
checking value of boost::is_const<const int&>::value...failed
 found: 1 expected 0
checking value of boost::is_const<const volatile int&>::value...failed
 found: 1 expected 0
checking value of boost::is_volatile<volatile void>::value...failed
 found: 0 expected 1
22 tests completed, 4 failures found, 3 failures expected from this
compiler.

   2. I can't compile object_type_traits_test:

\boost\type_traits\cv_traits.hpp(186) : error C2259: 'test_abc1' :
cannot instantiate abstract class due to following members:
\boost\type_traits\type_traits_test.hpp(368) : see declaration
of 'test_abc1'
\boost\type_traits\composite_traits.hpp(312) : see reference to class
template instantiation 'boost::is_const<struct test_abc1 const
volatile >' being compiled
\boost\type_traits\transform_traits.hpp(101) : see reference to class
template instantiation 'boost::is_reference<struct test_abc1>' being
compiled
\boost\type_traits\composite_traits.hpp(367) : see reference to class
template instantiation 'boost::add_reference<struct test_abc1>' being
compiled
\boost\type_traits\object_traits.hpp(68) : see reference to class
template instantiation 'boost::is_enum<struct test_abc1>' being
compiled
\boost\type_traits\object_traits.hpp(133) : see reference to class
template instantiation 'boost::is_scalar<struct test_abc1>' being
compiled
\libs\type_traits\tests\object_type_traits_test.cpp(110) : see
reference to class template instantiation 'boost::is_POD<struct
test_abc1>' being compiled

Could you check it, please? It may be my local version, but I've got
te same after fresh update from CVS.

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk