summaryrefslogtreecommitdiff
path: root/include/util/NonCopyable.hpp
blob: 22fdaf9c9791c0162d783e7875fc68ac3c19bf26 (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 "UtilExportable.hpp"

namespace __dont_touch
{

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

}

typedef __dont_touch::noncopyable noncopyable;

#endif