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

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

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

Detailed Description

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

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

See also
SucceedOnFalse mem_fun fun

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


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