xmscore  1.0
base_macros.h
Go to the documentation of this file.
1 #pragma once
2 //------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------
9 
10 //----- Included files ---------------------------------------------------------
11 
12 //----- Namespace declaration --------------------------------------------------
13 
14 namespace xms
15 {
16 //------------------------------------------------------------------------------
20 //------------------------------------------------------------------------------
21 #define XM_DISALLOW_COPY_AND_ASSIGN(TypeName) \
22  TypeName(const TypeName&) = delete; \
23  void operator=(const TypeName&) = delete;
24 
25 } // namespace xms