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  

comstl.h File Reference

The root header for the COMSTL project. More...

#include "stlsoft.h"
#include <objbase.h>

Go to the source code of this file.

Namespaces

namespace  comstl

Defines

#define _COMSTL_VER_MAJOR   1
 The major version number of COMSTL.

#define _COMSTL_VER_MINOR   4
 The minor version number of COMSTL.

#define _COMSTL_VER_REVISION   1
 The revision version number of COMSTL.

#define _COMSTL_VER   _COMSTL_VER_1_4_1
 The current composite version number of COMSTL.

#define comstl_assert(expr)   stlsoft_assert(expr)
 Defines a runtime assertion.

#define comstl_message_assert(msg, expr)   stlsoft_message_assert(msg, expr)
 Defines a runtime assertion, with message.

#define comstl_static_assert(expr)   stlsoft_static_assert(expr)
 Defines a compile-time assertion.

#define comstl_ns_qual(x)   ::comstl::x
 Qualifies with comstl:: if COMSTL is using namespaces or, if not, does not qualify.

#define comstl_ns_using(x)   using ::comstl::x;
 Declares a using directive (with respect to comstl) if COMSTL is using namespaces or, if not, does nothing.

#define comstl_ns_qual_std(x)   ::std::x
 Qualifies with std:: if COMSTL is being translated in the context of the standard library being within the std namespace or, if not, does not qualify.

#define comstl_ns_using_std(x)   using ::std::x;
 Declares a using directive (with respect to std) if COMSTL is being translated in the context of the standard library being within the std namespace or, if not, does nothing.

#define comstl_num_elements(ar)   stlsoft_num_elements(ar)
 Evaluates, at compile time, to the number of elements within the given vector entity.

#define comstl_destroy_instance(t, _type, p)   stlsoft_destroy_instance(t, _type, p)
 Destroys the given instance p of the given type (t and _type).

#define comstl_gen_opaque(_htype)   stlsoft_gen_opaque(_htype)
 Generates an opaque type with the name _htype.


Detailed Description

The root header for the COMSTL project.


Define Documentation

#define _COMSTL_VER   _COMSTL_VER_1_4_1
 

The current composite version number of COMSTL.

#define _COMSTL_VER_MAJOR   1
 

The major version number of COMSTL.

#define _COMSTL_VER_MINOR   4
 

The minor version number of COMSTL.

#define _COMSTL_VER_REVISION   1
 

The revision version number of COMSTL.

#define comstl_assert expr       stlsoft_assert(expr)
 

Defines a runtime assertion.

Parameters:
expr  Must be non-zero, or an assertion will be fired

#define comstl_destroy_instance t,
_type,
     stlsoft_destroy_instance(t, _type, p)
 

Destroys the given instance p of the given type (t and _type).

#define comstl_gen_opaque _htype       stlsoft_gen_opaque(_htype)
 

Generates an opaque type with the name _htype.

#define comstl_message_assert msg,
expr       stlsoft_message_assert(msg, expr)
 

Defines a runtime assertion, with message.

Parameters:
expr  Must be non-zero, or an assertion will be fired
msg  The literal character string message to be included in the assertion

#define comstl_ns_qual      ::comstl::x
 

Qualifies with comstl:: if COMSTL is using namespaces or, if not, does not qualify.

#define comstl_ns_qual_std      ::std::x
 

Qualifies with std:: if COMSTL is being translated in the context of the standard library being within the std namespace or, if not, does not qualify.

#define comstl_ns_using      using ::comstl::x;
 

Declares a using directive (with respect to comstl) if COMSTL is using namespaces or, if not, does nothing.

#define comstl_ns_using_std      using ::std::x;
 

Declares a using directive (with respect to std) if COMSTL is being translated in the context of the standard library being within the std namespace or, if not, does nothing.

#define comstl_num_elements ar       stlsoft_num_elements(ar)
 

Evaluates, at compile time, to the number of elements within the given vector entity.

#define comstl_static_assert expr       stlsoft_static_assert(expr)
 

Defines a compile-time assertion.

Parameters:
expr  Must be non-zero, or compilation will fail

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