noncopyable.h
Go to the documentation of this file.
00001 #ifndef NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
00002 #define NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
00003 
00004 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
00005 #pragma once
00006 #endif
00007 
00008 #include "yaml-cpp-pm/dll.h"
00009 
00010 namespace YAML_PM
00011 {
00012         // this is basically boost::noncopyable
00013         class YAML_CPP_API noncopyable
00014         {
00015         protected:
00016                 noncopyable() {}
00017                 ~noncopyable() {}
00018                         
00019         private:
00020                 noncopyable(const noncopyable&);
00021                 const noncopyable& operator = (const noncopyable&);
00022         };
00023 }
00024 
00025 #endif // NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:42