00001 00012 #ifndef NONCOPYABLE_HH 00013 #define NONCOPYABLE_HH 00014 00015 namespace my_lib { 00016 struct noncopyable { 00017 private: 00018 noncopyable(const noncopyable&) {} 00019 noncopyable& operator=(const noncopyable&) {} 00020 }; 00021 } 00022 00023 #endif NONCOPYABLE_HH