[lldb-dev] RFC: Break/Watchpoint refactor
Greg Clayton via lldb-dev
lldb-dev at lists.llvm.org
Tue Sep 27 16:35:18 PDT 2016
> On Sep 27, 2016, at 3:43 PM, Zachary Turner via lldb-dev <lldb-dev at lists.llvm.org> 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.
More information about the lldb-dev
mailing list