Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cNonCopyable.h File Reference
#include "GrayCore.h"

Go to the source code of this file.

Classes

class  Gray::cNonCopyable
 

Namespaces

 Gray
 < The main namespace for all Core functions.
 

Macros

#define NonCopyable_IMPL(_TYPE)   private: _TYPE(const _TYPE&) IS_DELETE; const _TYPE& operator=(const _TYPE&) IS_DELETE;
 

Detailed Description

Macro Definition Documentation

◆ NonCopyable_IMPL

#define NonCopyable_IMPL (   _TYPE)    private: _TYPE(const _TYPE&) IS_DELETE; const _TYPE& operator=(const _TYPE&) IS_DELETE;

Restrict the copy constructor and assignment operator GNUC - defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Make this a macro to avoid linkage inconsistency with use in DLL/SO and templates.