MeshLib
 
Loading...
Searching...
No Matches
MRMacros.h File Reference

Go to the source code of this file.

Macros

#define MR_STR(...)   MR_STR_(__VA_ARGS__)
 
#define MR_STR_(...)   #__VA_ARGS__
 
#define MR_IDENTITY(...)   __VA_ARGS__
 
#define MR_END(...)   DETAIL_MR_END(__VA_ARGS__)
 
#define DETAIL_MR_END(...)   __VA_ARGS__##_END
 
#define MR_CONCAT(a, b)   MR_CONCAT_( a, b )
 
#define MR_CONCAT_(a, b)   a ## b
 
#define MR_REQUIRES_IF_SUPPORTED(...)
 
#define MR_HAS_REQUIRES   0
 
#define MR_NO_UNIQUE_ADDRESS   [[no_unique_address]]
 

Macro Definition Documentation

◆ DETAIL_MR_END

#define DETAIL_MR_END ( ...)    __VA_ARGS__##_END

◆ MR_CONCAT

#define MR_CONCAT ( a,
b )   MR_CONCAT_( a, b )

◆ MR_CONCAT_

#define MR_CONCAT_ ( a,
b )   a ## b

◆ MR_END

#define MR_END ( ...)    DETAIL_MR_END(__VA_ARGS__)

◆ MR_HAS_REQUIRES

#define MR_HAS_REQUIRES   0

◆ MR_IDENTITY

#define MR_IDENTITY ( ...)    __VA_ARGS__

◆ MR_NO_UNIQUE_ADDRESS

#define MR_NO_UNIQUE_ADDRESS   [[no_unique_address]]

◆ MR_REQUIRES_IF_SUPPORTED

#define MR_REQUIRES_IF_SUPPORTED ( ...)

◆ MR_STR

#define MR_STR ( ...)    MR_STR_(__VA_ARGS__)

◆ MR_STR_

#define MR_STR_ ( ...)    #__VA_ARGS__