Skip to content
Archive of entries posted on November 2009

C++ Tutorial (3)

This is part 3 of a fast paced C++ tutorial for programmers familiar with high level languages like Perl and Python. In this part, we’ll learn that STL containers store copies of objects. To get Python-like semantics, we’ll store std::tr1::shared_ptr pointers to dynamically allocated objects instead of raw pointers into the std::map.