Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
18
include/Spectre/Core/NonCopyable.h
Normal file
18
include/Spectre/Core/NonCopyable.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
#ifndef SPECTRE_CORE_NONCOPYABLE_H
|
||||
#define SPECTRE_CORE_NONCOPYABLE_H
|
||||
|
||||
class NonCopyable
|
||||
{
|
||||
protected :
|
||||
|
||||
NonCopyable() {}
|
||||
|
||||
private :
|
||||
|
||||
// Skip implementation to trigger compiler error.
|
||||
NonCopyable(const NonCopyable&);
|
||||
NonCopyable& operator =(const NonCopyable&);
|
||||
};
|
||||
|
||||
#endif /* SPECTRE_CORE_NONCOPYABLE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue