|
||||
File indexing completed on 2025-01-18 09:54:39
0001 #ifndef CLHEP_NONCOPYABLE_H 0002 #define CLHEP_NONCOPYABLE_H 0003 0004 // ====================================================================== 0005 // 0006 // noncopyable - classes directly/indirectly inheriting won't be copyable 0007 // 0008 // Author: W. E. Brown; 2010-03-05 0009 // 0010 // ====================================================================== 0011 0012 0013 #include "CLHEP/Utility/defs.h" 0014 0015 0016 namespace CLHEP { 0017 0018 class noncopyable 0019 { 0020 protected: 0021 noncopyable () throw () { } 0022 ~noncopyable() throw () { } 0023 0024 private: 0025 noncopyable ( noncopyable const & ); // = delete; 0026 noncopyable & operator = ( noncopyable const & ); // = delete; 0027 }; // noncopyable 0028 0029 } // namespace CLHEP 0030 0031 #endif // CLHEP_NONCOPYABLE_H 0032 // 0033 // ======================================================================
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |