c++-gtk-utils
|
Struct which provides a type 'T' (typedef'ed to void*) if its template parameter is true. More...
#include <c++-gtk-utils/do_if.h>
Struct which provides a type 'T' (typedef'ed to void*) if its template parameter is true.
This struct provides a public type 'T' (typedef'ed to void*) if the template parameter passed to it is true, in order to provide compile time conditional compilation using template SFINAE (substitution failure is not an error). It is intended for use with the 'value' member of the RelatedTest class, but it can be used with any other compile time constant for conditional compilation purposes.
Since 1.2.10