SpiceQA
Questions
Tags
Users
Badges
string-view
67 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Is there a way to get a compiler warning when returning a by-value string_view from a temporary?
user_7648956
0
•
asked May 10, 2020
3
1
275
temporary-objects
string-view
c++17
compiler-warnings
c++
How to pass std::string_view by value or by const reference
user_964080
0
•
asked Oct 15, 2019
8
1
1112
string-view
c++17
Any gotchas replacing global const char[] with constexpr string_view?
user_7148080
0
•
asked Oct 8, 2019
21
1
1668
constexpr
string-view
c++17
c++
When should I use std::string / std::string_view for parameter / return type
user_1922763
0
•
asked Jun 18, 2019
5
2
4190
string-view
c++17
c++
string
Safely convert std::string_view to int (like stoi or atoi)
user_2287458
0
•
asked Jun 17, 2019
26
3
15371
string-view
atoi
c++17
c++
string
Why does std::string_view create a dangling view in a ternary expression?
user_1408611
0
•
asked Jun 17, 2019
20
1
1284
dangling-pointer
string-view
c++17
language-lawyer
c++
Should methods returning const std::string& return const std::string_view instead?
user_1753435
0
•
asked Jun 14, 2019
16
1
4376
string-view
c++17
c++
string
Is it legal to static_cast a string_view to a string
user_5360439
0
•
asked Jan 16, 2019
17
2
4678
string-view
static-cast
c++
string_view not found when compiling c++17 code with clang in Ubuntu
user_277941
0
•
asked Nov 17, 2018
4
0
6737
string-view
compiler-errors
c++
How do gsl::string_span and std::string_view differ?
user_1593077
0
•
asked Oct 29, 2018
5
1
1433
string-span
guideline-support-library
string-view
Prev
Prev
3
4
5
6
(current)
7
Next
Next
Hot Questions