add vcglib
This commit is contained in:
1 parent
6f6c0c8eb7
commit
af8100f851
1537 files changed
+634197
No files matched your search
@@ -0,0 +1,42 @@
|
||||
#ifndef GLW_NONCOPYABLE_H
|
||||
#define GLW_NONCOPYABLE_H
|
||||
|
||||
#include "./common.h"
|
||||
|
||||
namespace glw
|
||||
{
|
||||
|
||||
namespace detail
|
||||
{
|
||||
|
||||
class NonCopyable
|
||||
{
|
||||
public:
|
||||
|
||||
typedef void BaseType;
|
||||
typedef NonCopyable ThisType;
|
||||
|
||||
NonCopyable(void)
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
NonCopyable(const ThisType & that)
|
||||
{
|
||||
(void)that;
|
||||
}
|
||||
|
||||
ThisType & operator = (const ThisType & that)
|
||||
{
|
||||
(void)that;
|
||||
return (*this);
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
#endif // GLW_NONCOPYABLE_H
|
||||
Reference in new issue
Block a user