Quantcast
Channel: What's the difference between span and array_view in the gsl library? - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by oHo for What's the difference between span and array_view in the...

The document P0122R (2016-02-12) from the Library Evolution Working Group (LEWG)officially renames the type array_view to span:ChangelogChanges from R0Changed the name of the type being proposed from...

View Article



Answer by Bjarne Stroustrup for What's the difference between span and...

We talked with people in the library working group in the standards committee. They wanted the array_view they are trying to get into the standard to be read only. For the core guidelines, we needed an...

View Article

Answer by Galik for What's the difference between span and array_view in the...

In the CppCoreGuidlines The original array_view was renamed to span.See: https://github.com/isocpp/CppCoreGuidelines/pull/377It is described thus:span is a bounds-checked, safe alternative to using...

View Article

What's the difference between span and array_view in the gsl library?

In several recent conference presentation I've heard Bjarne Stroustrup and others mention new coding guidelines for C++ and some types supporting them. Specifically, I remember the example of...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>