|
Boost : |
From: Alexander Nasonov (alnsn-mycop_at_[hidden])
Date: 2004-04-26 16:52:11
Robert Ramey wrote:
> Is there a type traits guru that can explain to me why the following
> doesn't
> work as I expect. It's got to be something very, very obvious but I can't
> see it.
>
> Thank you
>
> Robert Ramey
You forgot about trailing '::type'
BOOST_STATIC_ASSERT((boost::is_base_and_derived<
boost::remove_pointer<Base1 *>::type,
boost::remove_pointer<Derived *>::type
>::value));
-- Alexander Nasonov Independent Developer and Consultant
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk