I was checking C++20 Range Library on en.cppreference.com. Roughly speaking, it looks like to be compliant to the Range
concept a type needs to have begin
and end
iterator accessors. This should make every container in STL be compliant to the Range
concept. However, when I checked some containers constructors I saw that they still have the overload taking explicitly begin
and end
iterators as input, but no overload taking simply just one range object.
Is it because en.cppreference.com is not yet updated, or is it standardized that we will not be able to construct a container using just range?