LWN.net Logo

oops

oops

Posted Mar 29, 2013 16:14 UTC (Fri) by HelloWorld (guest, #56129)
In reply to: Still no fixed template syntax by HelloWorld
Parent article: A look at C++14, part 1

Actually, it would become

template〈typename T〉
std::enable_if〈T::foo〈42〉::value, T〉::type bla();
(notice the lack of the template keyword before foo.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds