xmscore  1.0
base_macros.h File Reference

Macros used in xmscore. More...

Go to the source code of this file.

Macros

#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)
 A macro to disallow the copy constructor and operator= functions. This should be used in the private: declarations for a class. (Or inherit privately from boost::noncopyable.) More...
 

Detailed Description

Macros used in xmscore.

Definition in file base_macros.h.

Macro Definition Documentation

◆ XM_DISALLOW_COPY_AND_ASSIGN

#define XM_DISALLOW_COPY_AND_ASSIGN (   TypeName)
Value:
TypeName(const TypeName&) = delete; \
void operator=(const TypeName&) = delete;

A macro to disallow the copy constructor and operator= functions. This should be used in the private: declarations for a class. (Or inherit privately from boost::noncopyable.)

Definition at line 21 of file base_macros.h.