21 Jun
2003
21 Jun
'03
8 a.m.
From: "Howard Hinnant"
Might be nice if the docs demonstrate its use with member template constructors (as opposed to just namespace scope functions).
And conversion functions, perhaps: template<class T> class test { public: operator typename enable_if< boost::is_arithmetic<T>::value, T
::type() { return T(); } };
Assuming this is valid C++. :) Regards, Terje