
24 Jun
2008
24 Jun
'08
1:14 p.m.
AMDG David Abrahams wrote:
Fully agreed and I didn't mean to suggest otherwise. There will be a small improvement in that distracting and irrelevant details like sizeof won't appear.
I'm inclined to worry that even though static_assert produces a prettier message than BOOST_MPL_ASSERT, it will actually be less useful because the error message doesn't contain information about the types involved. At least, I don't see an easier way than to put the static_assert in an auxiliary template. In Christ, Steven Watanabe