Search code examples
Extracting data from a buffer using ispanstream doesn´t copy the value across when streaming to...


c++c++23std-span

Read More
What is an mdspan, and what is it used for?...


c++c++-faqstd-spanmdspan

Read More
How do you do bounds checking with std span?...


c++c++20outofrangeexceptionstd-span

Read More
Simplest way to assign std::span to std::vector...


c++stdstdvectorstd-span

Read More
What's the purpose of std::dynamic_extent in std::span...


c++stdstd-span

Read More
Instantiating a function template with a std::span<T> parameter...


c++templatesc++20std-span

Read More
What is a "span" and when should I use one?...


c++c++20c++-faqcpp-core-guidelinesstd-span

Read More
Is it possible to recover the actual index of elements in a `std::span`?...


c++c++20stdvectorstd-span

Read More
How to convert `const std::vector<T*>` into `std::span<const T*>`...


c++c++20stdstd-span

Read More
Why in particular should I rather pass a std::span than a std::vector& to a function?...


c++vectorc++20std-span

Read More
Can't construct std::span<int> from temporary std::array<int>...


c++initializationc++20stdarraystd-span

Read More
Why can T not be deduced for std::span<T> when passing a std::vector?...


c++templatesc++20template-argument-deductionstd-span

Read More
Why does `std::span` require an explicit constructor to use in a templated function?...


c++templatesc++20c++-conceptsstd-span

Read More
How to use span to wrap up command line args...


c++c++20string-viewstd-span

Read More
What is the idiomatic way to create a fixed size std::array from a fixed size std::span?...


c++c++20stdarraystd-span

Read More
Does C++ allow comparison between std::span::iterators when one span is a subspan of the other?...


c++language-lawyerc++20std-span

Read More
Why do I need to pass std::span for a string argument when using std::thread in C++?...


c++multithreadingc++20std-span

Read More
What is the difference between the two overloads of std::span::subspan()...


c++c++20std-span

Read More
adding member function substr for std::span<T> which imitates the string_view::substr...


c++c++20substrstd-span

Read More
template argument deduce error for raw C string literal but works for std::string_view...


c++c++20string-viewstd-span

Read More
what is the way to remove the first element from a std::span<T>?...


c++templatesc++20string-viewstd-span

Read More
How to make span of spans...


c++c++20std-span

Read More
Emscripten and C++ 20...


c++c++20webassemblyemscriptenstd-span

Read More
Why can logical constness only be added to a std::span of const pointers?...


c++c++20std-span

Read More
What's the best way to pass a r-value/temporary collection to a function taking a std::span?...


c++std-span

Read More
Why does std::span lack cbegin and cend methods?...


c++iteratorc++20std-span

Read More
Create std::string from std::span of unsigned char...


c++c++20stdstringstd-span

Read More
How to initialize std::span<const T*>? Problems with const-ness...


c++std-span

Read More
Is std::span a view?...


c++stdc++20std-span

Read More
How to pass an empty span object?...


c++c++20stdvectorfunction-parameterstd-span

Read More
BackNext