> On Sep 27, 2016, at 3:43 PM, Zachary Turner via lldb-dev > <[email protected]> wrote: > > One solution I've seen (I think boost does this as well) is to make a utility > class called noncopyable that you can privately inherit from: > > class noncopyable { > public: > noncopyable(const noncopyable &) = delete; > noncopyable &operator=(const noncopyable &other) = delete; > }; > > class Foo : private noncopyable { > }; > That is fine for internal classes.
_______________________________________________ lldb-dev mailing list [email protected] http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
