Hacker News new | ask | show | jobs
by BenFrantzDale 1296 days ago
I keep considering writing a `unique_span` and `shared_span`. Really `span` or (a type it’s based on) should have been templated on the pointer type, so a `span<shared_ptr<const T[]>>` for example.