© Slobodan Dmitrović 2020
S. DmitrovićModern C++ for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-6047-0_38

38. C++ Standard Library and Friends

Slobodan Dmitrović1 
(1)
Belgrade, Serbia
 

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. Remember the std::string type mentioned earlier? It is also a part of the standard library. The standard library is implemented through class templates. Long story short: prefer using the standard-library to user-provided libraries for everyday tasks.

Some functionalities explained in this ...

Get Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.