Your own type predicate—Andrzej Krzemieński

Published: 5/12/2017
Your own type predicate—Andrzej Krzemieński
Source: ISOCPP.ORG

A very detailled and complete article to start playing with template predicates! Your own type predicate by Andrzej Krzemieński From the article: In this post we will see how to define a type trait or a type predicate or a meta-function that would allow us to check at compile time whether a type exposes an interface that we need. That is, we want to check if a given type T has: nested ty

Read more
Related news
Comment