Search code examples
How to create a constexpr array with a sequence of string_views at compile time?...


c++arraystemplatesconstexprstring-view

Read More
Avoiding the func(char *) api on embedded...


c++c++17null-terminatedstring-view

Read More
Can I use std::string_view with getline when parsing a file?...


c++stringc++17string-view

Read More
Adding const char* to string_view...


c++stringmemorystring-view

Read More
How to compare string_view using if-constexpt in a constexpr context...


c++c++20string-viewif-constexpr

Read More
Constructing a string_view from a range of chars...


c++c++20string-view

Read More
Create span of string_views from C string array...


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

Read More
Best way to find distance between beginning of string_view and its underlying string...


c++stdstring-view

Read More
std::string_view compile time hashing...


c++hashstdc++17string-view

Read More
How to guarantee a specific set of characters as input to a string_view parameter?...


c++parameter-passingcharacterc++17string-view

Read More
What should be the semantics of a reference to const string in C++17?...


c++c++17string-view

Read More
Substring console output using std::string_view...


c++c++17string-view

Read More
Is it safe to return a static string_view created from a string literal?...


c++c++17constexprstring-literalsstring-view

Read More
Why does string_view::operator== accepts parameters by value...


c++stdpass-by-valuestring-viewpass-by-const-reference

Read More
Does using string_view lead to an unnecessary string copy in this scenario?...


c++string-view

Read More
noexcept constructor of std::string_view...


c++c++17noexceptuser-defined-literalsstring-view

Read More
Is there a way to get a compiler warning when returning a by-value string_view from a temporary?...


c++c++17compiler-warningstemporary-objectsstring-view

Read More
Erase inside a std::string by std::string_view...


c++stringc++17string-view

Read More
How to convert std::string_view to double?...


c++c++17string-view

Read More
How to call a constexpr function from a preprocessor #if directive?...


c++c++17constexprstring-view

Read More
Why does std::string_view::data not include a null terminator?...


c++stlc++17string-view

Read More
Is it safe to convert function parameter `const char*` to `std::string_view`?...


c++c++17null-terminatedstring-view

Read More
Returning a std::string_view to a const char *...


c++string-view

Read More
How to remove a substring from a string_view at compile time?...


c++substringstring-concatenationconstexprstring-view

Read More
Why is there no deduction guide for string_view?...


c++language-lawyerc++17template-meta-programmingstring-view

Read More
When do you need a null terminated string in a read-only scenario?...


c++stringc++17string-view

Read More
File to std::string_view...


c++stlstring-view

Read More
null-terminated string_view wanted...


c++c++17noexceptstring-view

Read More
How to pass std::string_view by value or by const reference...


c++17string-view

Read More
Is there a safe way to assert if a string view is null terminated?...


c++stringassertc-stringsstring-view

Read More
BackNext