C/C++ User's Journal STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - where the Standard Template Library meets the Active Template Library COMSTL - where the Standard Template Library meets the Component Object Model
Synesis Software InetSTL - where the Standard Template Library meets the Internet 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  

/include/recls/assert.h File Reference

Assertions for the recls API. More...

#include <recls/recls.h>
#include <assert.h>

Go to the source code of this file.

Namespaces

namespace  recls

Defines

#define RECLS_ASSERT(x)   assert(x)
 Assert macro for the recls API.

#define recls_assert(expr)   RECLS_ASSERT(expr)
 Defines a compile-time assertion.

#define RECLS_MESSAGE_ASSERT(m, x)   RECLS_ASSERT(((m), (x)))
 Assert macro for the recls API.

#define recls_message_assert(msg, expr)   RECLS_MESSAGE_ASSERT(msg, expr)
 Defines a compile-time assertion.


Detailed Description

Assertions for the recls API.


Define Documentation

#define recls_assert expr       RECLS_ASSERT(expr)
 

Defines a compile-time assertion.

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

Note:
This is a simple #define for RECLS_ASSERT()

#define RECLS_ASSERT      assert(x)
 

Assert macro for the recls API.

Parameters:
x  The expression that must evaluate to true

#define recls_message_assert msg,
expr       RECLS_MESSAGE_ASSERT(msg, expr)
 

Defines a compile-time assertion.

Parameters:
msg  The message to be displayed to the user if the expr evaluates to 0
expr  Must be non-zero, or compilation will fail
Deprecated:

Note:
This is a simple #define for RECLS_MESSAGE_ASSERT()

#define RECLS_MESSAGE_ASSERT m,
     RECLS_ASSERT(((m), (x)))
 

Assert macro for the recls API.

Parameters:
m  The literal string describing the failed condition
x  The expression that must evaluate to true

recls Library documentation © Synesis Software Pty Ltd, 2001-2005