Use deleted functions to disallow copying #9

jwakely opened this Issue May 27, 2012 · 2 comments


None yet

2 participants

jwakely commented May 27, 2012

As a C++11 project it would be better to use deleted copy constructors and copy assignment operators instead of the current DISALLOW_COPY_AND_ASSIGN macro.

Would a patch to change the macro (or just to declare deleted functions directly in the classes) be accepted?


I would gladly accept a patch.

@jwakely jwakely closed this Jul 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment