31 Mar
2013
31 Mar
'13
6:42 a.m.
why did c++11 choose traits classes over metafunctions, even though the concept of a metafunction was introduced in c++11 (
). ...
P.S. Have you seen what they did with enable_if?
Do you mean that the standard version takes the condition as a boolean parameter rather than a type parameter? If so, that actually seems more natural to me. Regards, Nate