summaryrefslogtreecommitdiff
path: root/include/util/NonCopyable.hpp
blob: 44d1a9365ce7875a6faac682c91a72752946a4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __NONCOPYABLE_H
#define __NONCOPYABLE_H

#include "Exportable.hpp"

namespace __dont_touch
{

class SINGLETON_EXPORT noncopyable
{
	protected:
		noncopyable( ) { }
		~noncopyable( ) { }
	
	private:
		noncopyable( const noncopyable & );
		const noncopyable & operator=( const noncopyable & );
};

}

typedef __dont_touch::noncopyable noncopyable;

#endif