stlsoft/util/operator_bool.hpp File Reference


Detailed Description

[C++ only] Definition of the stlsoft::operator_bool_generator class template (Utility Library).

#include <stlsoft/stlsoft.h>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

struct  operator_bool_generator
 Template which provides the types and conversion operations for safe and highly-portable "<code>operator bool() const</code>". More...

Defines

#define STLSOFT_DEFINE_OPERATOR_BOOL_TYPES(U, G, B)
 Defines the types for a type-safe boolean operator.
#define STLSOFT_DEFINE_OPERATOR_BOOL_TYPES_T(U, G, B)


Define Documentation

#define STLSOFT_DEFINE_OPERATOR_BOOL_TYPES_T ( U,
G,
 ) 

Value:

\
    typedef ss_typename_param_k stlsoft_ns_qual(operator_bool_generator)<U>::class_type G;          \
    typedef ss_typename_param_k G::return_type                                          B


Generated on Thu Jun 10 08:58:12 2010 for STLSoft by  doxygen 1.5.6