Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2006-04-29 08:55:04


Walter Bright wrote:
> Please add to boost/type_traits/intrinsics.hpp the following slice:
>

I'm seeing a few errors after that change, first of all, is_pod appears not
to be improved by the change:

is_pod_test.cpp:156: <note>The expression:
"::boost::is_pod<empty_POD_UDT>::value" did not have the value we wish it to
have (found 0, expected 1)</note>
is_pod_test.cpp:157: <note>The expression: "::boost::is_pod<POD_UDT>::value"
did
 not have the value we wish it to have (found 0, expected 1)</note>
is_pod_test.cpp:158: <note>The expression:
"::boost::is_pod<POD_union_UDT>::value" did not have the value we wish it to
have (found 0, expected 1)</note>
is_pod_test.cpp:159: <note>The expression:
"::boost::is_pod<empty_POD_union_UDT>
::value" did not have the value we wish it to have (found 0, expected
1)</note>

But there are also compiler errors from some of the tests:

$ dmc -I../../../ has_trivial_copy_test.cpp
../../../boost/type_traits/has_trivial_copy.hpp(37) : Error: voids have no
value
; ctors, dtors and invariants have no return value
--- errorlevel 1

John Maddock_at_fuji /cygdrive/c/data/boost/develop/boost/libs/type_traits/test
$ dmc -I../../../ has_trivial_destructor_test.cpp
../../../boost/type_traits/has_trivial_destructor.hpp(31) : Error: voids
have no
 value; ctors, dtors and invariants have no return value
--- errorlevel 1

Which arise from testing volatile qualified types.

John Maddock.


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