Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

boost has an elegant solution that I like, inherit from boost::noncopyable.

  class Foo : boost::noncopyable
  {
    // ...
  };


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: