Documentation of CSL
Macros
default_move_cpy.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFINE_DEFAULT_CPY_CONSTRUCTOR(className)   className(className const&) = default;
 
#define DEFINE_DEFAULT_MV_CONSTRUCTOR(className)   className(className &&) = default;
 
#define DEFINE_DEFAULT_MC_CONSTRUCTOR(className)
 
#define DEFINE_DEFAULT_CPY_ASSIGNEMENT(className)   className& operator=(className const&) = default;
 
#define DEFINE_DEFAULT_MV_ASSIGNEMENT(className)   className& operator=(className &&) = default;
 
#define DEFINE_DEFAULT_MC_ASSIGNEMENT(className)
 
#define DEFINE_DEFAULT_CPY(className)
 
#define DEFINE_DEFAULT_MV(className)
 
#define DEFINE_DEFAULT_CPY_MV(className)
 

Detailed Description

Author
Grégoire Uhlrich
Version
1.3

Macro Definition Documentation

◆ DEFINE_DEFAULT_CPY

#define DEFINE_DEFAULT_CPY (   className)
Value:
DEFINE_DEFAULT_CPY_CONSTRUCTOR(className)\
DEFINE_DEFAULT_CPY_ASSIGNEMENT(className)

◆ DEFINE_DEFAULT_CPY_MV

#define DEFINE_DEFAULT_CPY_MV (   className)
Value:
DEFINE_DEFAULT_CPY(className)\
DEFINE_DEFAULT_MV(className)

◆ DEFINE_DEFAULT_MC_ASSIGNEMENT

#define DEFINE_DEFAULT_MC_ASSIGNEMENT (   className)
Value:
DEFINE_DEFAULT_CPY_ASSIGNEMENT(className)\
DEFINE_DEFAULT_MV_ASSIGNEMENT(className)

◆ DEFINE_DEFAULT_MC_CONSTRUCTOR

#define DEFINE_DEFAULT_MC_CONSTRUCTOR (   className)
Value:
DEFINE_DEFAULT_CPY_CONSTRUCTOR(className)\
DEFINE_DEFAULT_MV_CONSTRUCTOR(className)

◆ DEFINE_DEFAULT_MV

#define DEFINE_DEFAULT_MV (   className)
Value:
DEFINE_DEFAULT_MV_CONSTRUCTOR(className)\
DEFINE_DEFAULT_MV_ASSIGNEMENT(className)