List Question
20 TechQA 2024-03-25T00:20:23.377000What is the modern C++ way of handling multi-channel data using span?
71 views
Asked by jh0427
Instantiating a function template with a std::span<T> parameter
63 views
Asked by Mutating Algorithm
Is a range-based loop over a default constructed std::span undefined behavior?
120 views
Asked by phinz
Make function template of span<auto> accept collections with inferrence of element type at call sites
51 views
Asked by ByteEater
Is it possible to recover the actual index of elements in a `std::span`?
125 views
Asked by Christopher Miller
How to convert `const std::vector<T*>` into `std::span<const T*>`
299 views
Asked by Carson
Why does `std::span` require an explicit constructor to use in a templated function?
112 views
Asked by SRSR333
Why can T not be deduced for std::span<T> when passing a std::vector?
463 views
Asked by FrankM
What's the purpose of std::dynamic_extent in std::span
496 views
Asked by code muncher
What is the idiomatic way to create a fixed size std::array from a fixed size std::span?
357 views
Asked by phinz
Does C++ allow comparison between std::span::iterators when one span is a subspan of the other?
475 views
Asked by Maks Verver
Why do I need to pass std::span for a string argument when using std::thread in C++?
262 views
Asked by Sami
C++20 std::span: Uses of converting constructor
436 views
Asked by cbhattac
Can't construct std::span<int> from temporary std::array<int>
236 views
Asked by Jan Schultke
Why does C++ span's C style array constructor need type_identity_t?
144 views
Asked by cbhattac
What is the difference between the two overloads of std::span::subspan()
313 views
Asked by digito_evo
What is an mdspan, and what is it used for?
2.8k views
Asked by einpoklum
What should I call this unique-pointer-with-size structure?
33 views
Asked by einpoklum
template argument deduce error for raw C string literal but works for std::string_view
130 views
Asked by ollydbg23
adding member function substr for std::span<T> which imitates the string_view::substr
151 views
Asked by ollydbg23