$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: D-Swat (desertswat_at_[hidden])
Date: 2004-06-16 16:22:42
Hi,
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?
bye