 |
Documentation of CSL
|
Go to the documentation of this file. 23 #ifndef CSL_DEFAULT_MV_CPY_H_INCLUDED 24 #define CSL_DEFAULT_MV_CPY_H_INCLUDED 26 #define DEFINE_DEFAULT_CPY_CONSTRUCTOR(className)\ 27 className(className const&) = default; 28 #define DEFINE_DEFAULT_MV_CONSTRUCTOR(className)\ 29 className(className &&) = default; 30 #define DEFINE_DEFAULT_MC_CONSTRUCTOR(className)\ 31 DEFINE_DEFAULT_CPY_CONSTRUCTOR(className)\ 32 DEFINE_DEFAULT_MV_CONSTRUCTOR(className) 34 #define DEFINE_DEFAULT_CPY_ASSIGNEMENT(className)\ 35 className& operator=(className const&) = default; 36 #define DEFINE_DEFAULT_MV_ASSIGNEMENT(className)\ 37 className& operator=(className &&) = default; 38 #define DEFINE_DEFAULT_MC_ASSIGNEMENT(className)\ 39 DEFINE_DEFAULT_CPY_ASSIGNEMENT(className)\ 40 DEFINE_DEFAULT_MV_ASSIGNEMENT(className) 42 #define DEFINE_DEFAULT_CPY(className)\ 43 DEFINE_DEFAULT_CPY_CONSTRUCTOR(className)\ 44 DEFINE_DEFAULT_CPY_ASSIGNEMENT(className) 46 #define DEFINE_DEFAULT_MV(className)\ 47 DEFINE_DEFAULT_MV_CONSTRUCTOR(className)\ 48 DEFINE_DEFAULT_MV_ASSIGNEMENT(className) 50 #define DEFINE_DEFAULT_CPY_MV(className)\ 51 DEFINE_DEFAULT_CPY(className)\ 52 DEFINE_DEFAULT_MV(className)