3 ms·
> the very complicated 3/5/0 rule It is not very complicated at all; just a discipline to follow (or not if you know what you are doing) once learnt - https://
by rramadass 2y ago
> the very complicated 3/5/0 rule
It is not very complicated at all; just a discipline to follow (or not if you know what you are doing) once learnt - https://en.cppreference.com/w/cpp/language/rule_of_three https://en.cppreference.com/w/cpp/language/rule_of_three
Incidentally i use it as 4/6/0 by including the default ctor in the set.
- deleted 2y ago[deleted]