$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2006-10-09 10:09:50
Ian McCulloch <ianmcc_at_[hidden]> writes:
> If T does not inherit from MessageFactory<T>, the static_cast inside the
> self() function will not compile. If you wanted a more informative error
> message, that would be the place to put the STATIC_ASSERT
BOOST_STATIC_ASSERT doesn't give informative messages. Use
BOOST_MPL_ASSERT instead :)
-- Dave Abrahams Boost Consulting www.boost-consulting.com