On 10/18/10 17:55 CDT, bearophile wrote:
Jonathan M Davis:LOL. After using templates in D enough, C++ almost feelings like it doesn't have them (particularly since it lacks static ifs and template constraints).enable_if works in C++: http://www.boost.org/doc/libs/1_44_0/libs/utility/enable_if.html See also: http://www.boost.org/doc/libs/1_44_0/libs/concept_check/concept_check.htm Bye, bearophile
You don't know the half of it... :o) Andrei