Boost Library

Why not incorporate Boost library in the actual STL?

  • The Boost library originated as a collection of high-quality, peer-reviewed C++ libraries aimed at extending the functionality of the Standard Template Library (STL) and providing solutions to common programming problems. It was established in 1998 by a group of C++ developers who saw a need for reusable components that were not covered by the STL or the C++ Standard Library at the time.

Boost serves as a testing ground for new features that might later be considered for inclusion in the C++ Standard Library. For example:

  • Smart pointers (shared_ptr, unique_ptr) first appeared in Boost and were later incorporated into C++11.
  • Regex library was in Boost before becoming part of the standard in C++11.
  • Boost.Asio (for asynchronous I/O) influenced the std::async features introduced in later versions of C++.

todo

So many cool features.