tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
preprocessor.hpp File Reference

Go to the source code of this file.

Macros

#define __has_attribute(x)   0
 
#define __has_builtin(x)   0
 
#define __has_constexpr_builtin(x)   0
 
#define __has_extension(x)   0
 
#define __has_feature(x)   0
 
#define TETL_CONCAT(lhs, rhs)   TETL_CONCAT_IMPL(lhs, rhs)
 
#define TETL_CONCAT_IMPL(lhs, rhs)   lhs##rhs
 
#define TETL_PP_FUNC_SIG   __func__
 
#define TETL_STRINGIFY(str)   TETL_STRINGIFY_IMPL(str)
 
#define TETL_STRINGIFY_IMPL(str)   #str
 
#define TETL_UNIQUE_NAME(prefix)   TETL_CONCAT(prefix, __LINE__)
 

Macro Definition Documentation

◆ __has_attribute

#define __has_attribute (   x)    0

◆ __has_builtin

#define __has_builtin (   x)    0

◆ __has_constexpr_builtin

#define __has_constexpr_builtin (   x)    0

◆ __has_extension

#define __has_extension (   x)    0

◆ __has_feature

#define __has_feature (   x)    0

◆ TETL_CONCAT

#define TETL_CONCAT (   lhs,
  rhs 
)    TETL_CONCAT_IMPL(lhs, rhs)

◆ TETL_CONCAT_IMPL

#define TETL_CONCAT_IMPL (   lhs,
  rhs 
)    lhs##rhs

◆ TETL_PP_FUNC_SIG

#define TETL_PP_FUNC_SIG   __func__

◆ TETL_STRINGIFY

#define TETL_STRINGIFY (   str)    TETL_STRINGIFY_IMPL(str)

◆ TETL_STRINGIFY_IMPL

#define TETL_STRINGIFY_IMPL (   str)    #str

◆ TETL_UNIQUE_NAME

#define TETL_UNIQUE_NAME (   prefix)    TETL_CONCAT(prefix, __LINE__)