Transcription of Using C++11’s Smart Pointers
{{id}} {{{paragraph}}}
Using C++11 s Smart PointersDavid Kieras, EECS Department, University of MichiganJune 2016 This tutorial deals with C++11's Smart pointer facility, which consists unique_ptr, shared_ptr and its partner, weak_ptr, and some associated functions and template classes. See the posted code examples for the examples presented of the C++11 Smart PointersSmart Pointers are class objects that behave like built-in Pointers but also manage objects that you create with new so that you don't have to worry about when and whether to delete them - the Smart Pointers automatically delete the managed object for you at the appropriate time.
Using C++11’s Smart Pointers David Kieras, EECS Department, University of Michigan June 2016 This tutorial deals with C++11's smart pointer facility, which consists unique_ptr, shared_ptr and its partner, weak_ptr, and some associated functions and template classes.See the …
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}