STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

stlsoft_operator_bool.h File Reference

A robust and portable operator bool generator class. More...

#include "stlsoft.h"

Go to the source code of this file.

Namespaces

namespace  stlsoft

Defines

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


Detailed Description

A robust and portable operator bool generator class.


Define Documentation

#define STLSOFT_DEFINE_OPERATOR_BOOL_TYPES U,
G,
 
 

Value:

\
    typedef stlsoft_ns_qual(operator_bool_generator)<U>::class_type   G;                            \
    typedef G::return_type                                            B
Defines the types for a type-safe boolean operator.

Parameters:
U  The Unique type. This is usually the class_type member type of the class for which we are providing the boolean operator, but it could be any type.
G  The Generator type. This is the type you use to qualify your call to translate() inside the boolean operator
B  The Boolean type. This is the type of the boolean operator

#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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004