|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net