Hacker News new | ask | show | jobs
by humanrebar 4080 days ago
> I wish the C++ standard had something like Cocoa's NSArray/CFArrayRef

I think the proposed array_view is a much better choice in C++ land. The actual storage format of data (the data structure) should be an implementation detail, but there should be standard ways to share that data across various unrelated pieces of code.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n417...