
22 Nov
2005
22 Nov
'05
12:03 a.m.
"John Maddock" <john@johnmaddock.co.uk> writes:
integral_constant<bool,b> derives from mpl::bool_<b> for backwards compatibility.
For still more backward compatibility we ought to have a conversion in the other direction.
Stupid question but why doesn't your function do:
template <class T> typename is_fundamental<T>::type f(T) { return is_fundamental<T>::type(); }
Stupid answer: broken compiler workaround. Anyway, this isn't a big deal. Maybe not even worth acting on. -- Dave Abrahams Boost Consulting www.boost-consulting.com