Rule of Zero: Use std::string, std::vector, and std::unique_ptr for your class fields so you don't have to write custom destructors, copy constructors, or move assignment operators at all!
ADVERTISEMENT
We use cookies to collect and analyse information on site performance and usage, and to enhance and customise content and advertisements. Learn more
Required for basic website functionality.
Help us understand how visitors interact with the site.
Used to show relevant ads and measure ad performance.