ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
576 B

  1. //
  2. // Copyright (C) 2009-2012 Artyom Beilis (Tonkikh)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See
  5. // accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. #ifndef BOOSTER_NONCOPYABLE_H
  9. #define BOOSTER_NONCOPYABLE_H
  10. namespace booster {
  11. ///
  12. /// \brief This class makes impossible to copy any class derived from this one.
  13. ///
  14. class noncopyable {
  15. private:
  16. noncopyable(noncopyable const &);
  17. noncopyable const &operator=(noncopyable const &);
  18. protected:
  19. noncopyable(){}
  20. ~noncopyable(){}
  21. };
  22. }
  23. #endif