Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Indirection/SmartPointers

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

A "smart pointer" is an object which manages an allocation of memory, so that memory gets deallocated at the appropriate time. Risk from Raw Pointers Unique Ownership Shared Ownership Ownership Cycle Owning an Array Pointer to Base-Class Returning this Smart Compiler-Temporary Custom Destruction Template-Parameter