aimstil  5.0.5
templateTools.h File Reference

Collects template tools used for library implementation. More...

#include "boost/type_traits.hpp"
#include "til/til_common.h"
Include dependency graph for templateTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  til::true_type
 
struct  til::false_type
 
struct  til::bool_type< B >
 
struct  til::bool_type< true >
 
struct  til::type_if< B, TypeIfTrue, TypeIfFalse >
 Template to choose between one type or the other depending on some condition. More...
 
struct  til::type_if< false, TypeIfTrue, TypeIfFalse >
 
struct  til::is_same< T1, T2 >
 
struct  til::is_same< T, T >
 
struct  til::naked_type< T >
 
struct  til::is_same_rvalue_type< T1, T2 >
 Test whether two types are basically the same as far as rvalue goes, i.e are the same modulo possible const and reference differences. More...
 
struct  til::is_same_naked< T1, T2 >
 
struct  til::enable_if_c< B, T >
 Template tool to enable a template specialization under some condition. More...
 
struct  til::enable_if_c< false, T >
 
struct  til::enable_if< Cond, T >
 
struct  til::disable_if_c< B, T >
 
struct  til::disable_if_c< true, T >
 
struct  til::disable_if< Cond, T >
 
struct  til::prec< T >
 A dummy class used to pass a precision type for computations to some functions. More...
 
struct  til::check< b >
 Fails to compile if b is false. More...
 

Namespaces

 til
 Belongs to package Box Do not include directly, include til/Box.h instead.
 

Macros

#define TIL_FOR_ALL_NUMERIC_TYPES(macro)
 Apply a given macro for numeric types. More...
 

Detailed Description

Collects template tools used for library implementation.

Do not have any interest whatsoever to a library user.

Definition in file templateTools.h.

Macro Definition Documentation

◆ TIL_FOR_ALL_NUMERIC_TYPES

#define TIL_FOR_ALL_NUMERIC_TYPES (   macro)
Value:
macro(bool) \
macro(unsigned char) \
macro(char) \
macro(unsigned short) \
macro(short) \
macro(int) \
macro(unsigned int) \
macro(long) \
macro(unsigned long) \
macro(float) \
macro(double) \
macro(long double) \

Apply a given macro for numeric types.

Definition at line 15 of file templateTools.h.