News for hackers. Stuff that matters.
Re:Show HN: A header only C++11 LRU Cache template class, wi... by quinnftw on Tuesday August 30, 2016 @10:59AM (#12390729)
Personally I would use a macro such as:

    #define DISALLOW_COPY_AND_ASSIGN(TypeName) \
    TypeName(TypeName&) = delete;              \
    void operator=(TypeName) = delete;
Introducing a virtual base class for disabling copying introduces a vtable and un-needed inheritance.

There are no comments on this comment yet.