MeshLib Documentation
Loading...
Searching...
No Matches
MRCanonicalTypedefs.h File Reference
#include "MRMesh/MRMacros.h"

Go to the source code of this file.

Macros

#define MR_CANONICAL_TYPEDEFS(type_, name_, aliases_)
 
#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_BODY(name_, ...)   using name_ = __VA_ARGS__;
 
#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A(...)   DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_BODY MR_IDENTITY()(__VA_ARGS__) DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_B
 
#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_B(...)   DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_BODY MR_IDENTITY()(__VA_ARGS__) DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A
 
#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A_END
 
#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_B_END
 
#define DETAIL_MR_CANONICAL_TYPEDEFS(type_, name_, aliases_)
 

Macro Definition Documentation

◆ DETAIL_MR_CANONICAL_TYPEDEFS

#define DETAIL_MR_CANONICAL_TYPEDEFS ( type_,
name_,
aliases_ )

◆ DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A

#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A ( ...)    DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_BODY MR_IDENTITY()(__VA_ARGS__) DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_B

◆ DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A_END

#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A_END

◆ DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_B

#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_B ( ...)    DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_BODY MR_IDENTITY()(__VA_ARGS__) DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A

◆ DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_B_END

#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_B_END

◆ DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_BODY

#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_BODY ( name_,
... )   using name_ = __VA_ARGS__;

◆ MR_CANONICAL_TYPEDEFS

#define MR_CANONICAL_TYPEDEFS ( type_,
name_,
aliases_ )
Value:
MR_IDENTITY type_ name_; \
DETAIL_MR_CANONICAL_TYPEDEFS(type_, name_, aliases_)
#define DETAIL_MR_CANONICAL_TYPEDEFS_LOOP_USING_A(...)
Definition MRCanonicalTypedefs.h:30
#define MR_IDENTITY(...)
Definition MRMacros.h:10