Main advantage of shared_ptr is that it automatically releases the associated memory when not used any more.
Continue Reading »