Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-12-03 08:50:57


The following test is failing for me:

====== BEGIN OUTPUT ======
Platform: Cygwin
Compiler: GNU C++ version 2.95.3-10 (cygwin special)
STL : SGI standard library
Boost : 1.31.0
Running 1 test case...
c
../../../libs/type_traits/test/type_with_alignment_test.cpp(151): error in "type_with_alignment": test ::tt::is_pod< ::tt::type_with_alignment< ::tt::alignment_of<long double>::value>::type >::value failed

Test suite "Type Traits" failed with:
35 assertions out of 36 passed
 1 assertion out of 36 failed

  Test case "type_with_alignment" failed with:
  35 assertions out of 36 passed
   1 assertion out of 36 failed
====== END OUTPUT ======

My question: what gives us the right to expect that is_pod will
return true in this case, since is_pod only works with compiler
support?

Thanks,

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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