Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2025. The current version is 1.89.0.
This procedure assumes that you have control over the types that should be made conformant to a Range concept. If not, see method 2.
The primary templates in this library are implemented such that standard containers will work automatically and so will boost::array. Below is given an overview of which member functions and member types a class must specify to be useable as a certain Range concept.
|
Member function |
Related concept |
|---|---|
|
|
|
|
|
Notice that rbegin()
and rend()
member functions are not needed even though the container can support bidirectional
iteration.
The required member types are:
|
Member type |
Related concept |
|---|---|
|
|
|
|
|
Again one should notice that member types reverse_iterator
and const_reverse_iterator
are not needed.