|
Boost : |
From: (nil)
Date: 2000-02-03 16:45:19
I think we're almost done!
There's just one little change I'd like now. . . While reviewing the
definition of a POD type, I noticed that not all POD types have to have
trivial default constructors. Therefore, in our type_traits, I recommend
that is_POD should not imply has_trivial_constructor:
//*? T has trivial default constructor (allows cv-qual)
template <typename T> struct has_trivial_constructor
{
//was: static const bool value = is_POD<T>::value
//was: || BOOST_HAS_TRIVIAL_CONSTRUCTOR(typename remove_cv<T>::type);
static const bool value =
BOOST_HAS_TRIVIAL_CONSTRUCTOR(typename remove_cv<T>::type);
};
and change the docs to match.
-Steve
I see the light at the end of the tunnel. . .
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk