Re:C++11 FAQ
by ytugiuyghvk on Thursday January 26, 2017 @12:44PM
(#13493423)
class = X is just an anonymous template type parameter with default value X, just like
declares a function with a int parameter with default value 0. In this case, it's just a conventional place to stick an expression in the declaration to trigger SFINAE. If you don't need SFINAE, you can also just place the condition in a static_assert in the definition
[ Parent
| on HN ]
There are no comments on this comment yet.