|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-01-11 11:51:18
"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> writes:
> "David Abrahams" <dave_at_[hidden]> wrote
>
>> > This is submission of is_abstract_class<> type trait
>> > into Boost.TypeTraits.
>>
>> Very timely; I just yesterday discovered a need for this in
>> iterator_facade!
>>
> It would be also very useful to have something as
> BOOST_NO_SUPPORT_FOR_DR337 macro in Boost.Config.
I think we really ought to have something more descriptive ;-)
> Older compilers would bypass is_abstract_class<> when macro
> is defined.
We should do
mpl::and_<is_class<T>, mpl::not_<is_POD<T> > > as a
fallback.
> I would submit it too but do not have access to wide array of
> compilers for exhaustive check.
It's missing a typename I noticed.
-- 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