devxlogo

The Organization of STL Header Files: Container Classes

The Organization of STL Header Files: Container Classes

STL is divided into two major categories: containers and algorithms. Additional components are iterators, function objects, numeric facilities, allocators, and miscellaneous utilities. STL containers are defined in eight different header files:

      

The associative containers multimap and multiset are defined in the headers

and , respectively. Similarly, priority_queue and deque are defined in . (On some pre-standardized implementations, the container adaptors stack, queue, and priority_queue are in ).

devx-admin

Share the Post: