A recurring construct to fix a commonly occurring coding problem
Resource Acquisition Is Initialization
A wrapper type that makes pointers safer
nullptr
bool
for validity checkingstd::auto_ptr
std::unique_ptr
std::shared_ptr
std::optional
Delaying the construction of an object until (or if) it is needed
sizeof(Data)
, store a large amount of datastd::unique_ptr
default_delete<>
goto
and other constructs in the codeclose()