rapidjson icon indicating copy to clipboard operation
rapidjson copied to clipboard

Prohibit unused copy ctor & operator=

Open EstherWx opened this issue 2 years ago • 0 comments

Class 'GenericRegex' and struct 'Foo' have dynamic memmory/resource allocations but no copy constructor and operator=.

And, class 'GenericRegex' has members of type 'Stack', whose copy constructor and assignment operator are prohibited. Struct 'Foo' is only used in the test file, copy constructor and assignment operator are not used.

Prohibit their copy constructor and assignment operator.

EstherWx avatar Dec 05 '23 06:12 EstherWx