
Modern C++ programming relies heavily on STL and boost librairies, parts are now in the standard. STL separates algorithms from container thanks to iterator pattern. Use of ready made algorithm is encouraged over crafted for loop. Containers are themselves presented as sequence container and associative containers. One of a sequence container is std::vector T class, on of associative one is std::map T,V class. Associative containers are basically sequence container on std::pair T,V with extra search capabilities. Unlike their .NET counterpart they give no straight access to underlying key collection nor values collection. A tuple container..
|