How can I do the equivalent of the following using C++/STL? I want to fill a std::vector with a range of values [min, max).
std::vector
# Python >>>
There is boost::irange:
std::vector x; boost::push_back(x, boost::irange(0, 10));