mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Spanner<Iterator> turns a pair of pointers into a sequence container with several of vector's methods. A partial specialization of make_spanner is provided which uses shared_ptr as the beginning of the range. Some of the Spanner code is a questionable hack in support of this. C++20 has ranges and span, but neither is worth moving the minimum C++ standard forward. Signed-off-by: Zygo Blaxell <bees@furryterror.org>