00001 #pragma once 00002 00003 #ifndef NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66 00004 #define NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66 00005 00006 00007 namespace YAML 00008 { 00009 // this is basically boost::noncopyable 00010 class noncopyable 00011 { 00012 protected: 00013 noncopyable() {} 00014 ~noncopyable() {} 00015 00016 private: 00017 noncopyable(const noncopyable&); 00018 const noncopyable& operator = (const noncopyable&); 00019 }; 00020 } 00021 00022 #endif // NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66