boostorg / core

Boost Core Utilities
133 stars 83 forks source link

Please add make_span #125

Closed HDembinski closed 1 year ago

HDembinski commented 2 years ago

span.hpp follows the standard implementation, which does not have make_span, since make_span is superfluous for C++17 onwards. It is very useful to use span with lower C++ standards. Can this please be added?

glenfe commented 2 years ago

Will do.

HDembinski commented 2 years ago

https://github.com/boostorg/histogram/blob/develop/include/boost/histogram/detail/span.hpp#L252

glenfe commented 1 year ago

Also available on develop now