ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
tmp.hpp File Reference

Description:

This header file is part of the ALib C++ Library. It does not belong to an ALib Module and is included in any ALib Distribution.

© 2013-2024 A-Worx GmbH, Germany. Published under Boost Software License.

Note
To reduce their complexity, this header is not shown in inclusion graphs of this documentation.

Definition in file tmp.hpp.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TMPUnknownType
 

Namespaces

namespace  alib
 
namespace  alib::lang
 

Macros

C++ Template Meta Programming

Simple shortcut macros usable with template meta programming. Unlike other ALib macros, their prefix is "ATMP_". This is for reducing their size as they are frequently used in more complex type expressions.

#define ATMP_BOOL_IF(Cond)
 
#define ATMP_EQ( T, TEqual)
 
#define ATMP_HAS_METHOD(T, Method, ...)
 
#define ATMP_IF(Cond)
 
#define ATMP_IF_T_F( Cond, T, F)
 
#define ATMP_IS_ARR(T)
 
#define ATMP_IS_CONST(T)
 
#define ATMP_IS_ENUM(T)
 
#define ATMP_IS_INT(T)
 
#define ATMP_IS_PTR(T)
 
#define ATMP_IS_SINT(T)
 
#define ATMP_IS_UINT(T)
 
#define ATMP_ISOF( T, TBase)
 
#define ATMP_RC( T)
 
#define ATMP_RCV( T)
 
#define ATMP_RCVP( T)
 
#define ATMP_RCVR( T)
 
#define ATMP_RE( T)
 
#define ATMP_RECVP( T)
 
#define ATMP_RESULT_TYPE(T, Method, ...)
 
#define ATMP_RETURN_IF_1TP(TReturn, TParam, ...)
 
#define ATMP_RETURN_IF_2TP(TReturn, TParam1, TParam2, ...)
 
#define ATMP_RP( T)
 
#define ATMP_RR( T)
 
#define ATMP_SELECT_IF_1TP(TParam, ...)
 
#define ATMP_SELECT_IF_2TP(TParam1, TParam2, ...)
 
#define ATMP_SELECT_IF_3TP(TParam1, TParam2, TParam3, ...)
 
#define ATMP_SELECT_IF_4TP(TParam1, TParam2, TParam3, TParam4, ...)
 
#define ATMP_T_IF(T, Cond)
 
#define ATMP_VOID_IF(Cond)
 

Functions

template<typename TTo , typename TFrom >
TTo * SafeCast (TFrom *derived)