Boost logo

Boost :

From: D-Swat (desertswat_at_[hidden])
Date: 2004-06-16 16:22:42


some code:

template <typename DerivedT>
class A
BOOST_STATIC_ASSERT((boost::is_convertible<A<DerivedT>*, B*>::value));

class B : public A<B>

I want to check if the template parameter really specifies a derived type.
But the assert is always false.
How can i solve this?


Boost list run by bdawes at, gregod at, cpdaniel at, john at