31 Mar
2013
31 Mar
'13
9:58 a.m.
31.03.2013 10:42, Nathan Ridge wrote:
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.
I think bigger issue is that they didn't use template alias, which would remove need for "typename [...]::type". http://www.stroustrup.com/C++11FAQ.html#template-alias -- Evgeny Panasyuk