c++-gtk-utils
|
Struct which provides a type 'T' (typedef'ed to void*) if its template parameter is false. More...
#include <c++-gtk-utils/do_if.h>
Struct which provides a type 'T' (typedef'ed to void*) if its template parameter is false.
This struct provides a public type 'T' (typedef'ed to void*) if the template parameter passed to it is false, 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