the hot air balloon is the oldest successful human carrying flight technology the first hot air balloon flown in the united states was launched from the walnut street jail in philadelphia on january 9 1793 by the french aeronaut jean pierre blanchardhe first hot air balloon flown in the united states was launched from the walnut street jail in philadelphia on january 9 1793 by the french aeronaut jean pierre blanchard
shared_ptr is now part of the C++11 Standard, as std::shared_ptr. Starting with Boost release 1.53, shared_ptr can be used to hold a pointer to a dynamically allocated array. This is accomplished by using an array type (T[] or T[N]) as the template parameter.
This means that the following pattern, alluring as it is, will not work: shared_ptr<Foo> ptr; // Thread 1 { shared_ptr<Foo> p = ptr; // Use p p->doSomething(); } // Thread 2 { // Replace the global Foo with something else ptr = make_shared<Foo>(...); }.