c++-gtk-utils
Cgu::DoIf::SucceedOnFalse< value > Class Template Reference

Struct which provides a type 'T' (typedef'ed to void*) if its template parameter is false. More...

#include <c++-gtk-utils/do_if.h>

Detailed Description

template<bool value>
class Cgu::DoIf::SucceedOnFalse< value >

Struct which provides a type 'T' (typedef'ed to void*) if its template parameter is false.

See also
SucceedOnTrue mem_fun fun

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


The documentation for this class was generated from the following file: