The document discusses avoiding new and delete in modern C++ code by using smart pointers and containers provided by the standard library and third-party libraries. It provides examples of managing memory with new/delete in C and early C++ compared to modern approaches using classes, constructors, destructors, and smart pointers. The document also discusses specific cases where new and delete may still be needed, such as with intrusive reference counting objects and some GUI frameworks. Overall, it promotes using make functions like make_unique, make_shared, and containers by default to simplify memory management in C++.
4. Төрөл Утгын муж Char ‘ 0’..’9’,’A’..’Z’,’a’..’z’,*/+-Ў@#$%^&*(){}[];;.,’”?`~ Short -128..127 Unsigned short 0..255 Int -32768..32767 Unsigned int 0..65535 Long -2147483648.. 2147483647 Unsigned long 0..4294967295 Float 1.17549435e-38..3.40282347e+38 Double 2.2250738585072014e-308 .. 1.7976931348623157e+308