HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by bartwe | Hacker News Reader
Parent
Full thread
bartwe
·
c# got this right, enforcing the lifetime of Span<>
View on HN
BenFrantzDale
·
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.
Reply on news.ycombinator.com