5 ms·
c# got this right, enforcing the lifetime of Span<>
by bartwe 4y ago
c# got this right, enforcing the lifetime of Span<>
- BenFrantzDale 4y agoI 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.