Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-05-22 22:31:12


AMDG

Elli Barasch wrote:
> With some wrangling, I figured out how to use the is_pod function, but
> I discovered it has little value to me unless I can get the status of
> a class/struct.
> Has there been any progress in this area?

What compiler are you using? msvc 8.0 and up and gcc 4.3.0 among
others have intrinsics for this purpose. You can check whether the
preprocessor
symbol BOOST_HAS_TYPE_TRAITS_INTRINSICS is defined.
See boost/type_traits/intrinsics.hpp

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net