On 07/11/2018 12:24 PM, Trevor Saunders wrote: > However if we went that route we should prevent use of the > assignment operator by declaring one explicitly and making it private but > then not implementing it, so it at least fails to link and with some > macros you can actually tell the compiler in c++11 its deleted and may > not be used.
The macro already exists --- DISABLE_COPY_AND_ASSIGN in include/ansidecl.h. Thanks, Pedro Alves