BRE12
noncopyable.h
1 #ifndef NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
2 #define NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
3 
4 #if defined(_MSC_VER) || \
5  (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
6  (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
7 #pragma once
8 #endif
9 
10 #include "yaml-cpp/dll.h"
11 
12 namespace YAML {
13 // this is basically boost::noncopyable
14 class YAML_CPP_API noncopyable {
15  protected:
16  noncopyable() {}
17  ~noncopyable() {}
18 
19  private:
20  noncopyable(const noncopyable&);
21  const noncopyable& operator=(const noncopyable&);
22 };
23 }
24 
25 #endif // NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
Definition: noncopyable.h:14
Definition: DrawableObjectLoader.h:10