Posts

About exsan.h -Universal Container Library-

Image
exsan.h   C++ Standard Library Containers C++ language is accompanied by a library called the C++ Standard Library. It is a collection of containers and useful functions that we access by including the proper header file. The containers and functions inside the C++ standard library are defined in the std namespace.  The standard library is implemented through class templates.  Containers  A container is a place where we store our objects. There are different categories of containers, here we mention the two:  – Sequence containers: Sequential containers store objects in a sequence, one next to the other in memory. – Associative containers  std::   vector ,   array,  set,  map,  pair Other Containers There are other, less used containers in the standard library as well. We will mention a few of them:  a. std::forward_list – a singly linked list  b. std::list – a doubly linked list  c. std::deque...