noncopyable.h 444 Bytes
Newer Older
1
2
#pragma once

jbeder's avatar
jbeder committed
3
4
5
6
#ifndef NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66


7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace YAML
{
	// this is basically boost::noncopyable
	class noncopyable
		{
		protected:
			noncopyable() {}
			~noncopyable() {}
			
		private:
			noncopyable(const noncopyable&);
			const noncopyable& operator = (const noncopyable&);
		};
}
jbeder's avatar
jbeder committed
21
22

#endif // NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66