StackOverflow Questions for Tag: string-view

Aykhan Hagverdili
Aykhan Hagverdili

Reputation: 29985

convert wstring_view to int

Score: 3

Views: 1192

Answers: 3

Read More
bleh
bleh

Reputation: 1

Printing std::source_location attributes in __cyg_profile_func_enter causes segfault?

Score: 0

Views: 8

Answers: 0

Read More
xmllmx
xmllmx

Reputation: 42379

Is a std::string_view literal guaranteed to be null-terminated?

Score: 28

Views: 5209

Answers: 1

Read More
miyan
miyan

Reputation: 113

how to construct a constexpr static_string from constexpr std::string_view

Score: 6

Views: 86

Answers: 1

Read More
simplename
simplename

Reputation: 919

Concatenating string_view objects

Score: 15

Views: 24498

Answers: 5

Read More
Yan
Yan

Reputation: 31

Is it safe to pass a temporary std::string to a function accepting std::string_view?

Score: 1

Views: 153

Answers: 1

Read More
Torsten Knodt
Torsten Knodt

Reputation: 766

How can I create a std::string_view from integer literals/ ASCII code in a constexpr context?

Score: 1

Views: 46

Answers: 0

Read More
leanid.chaika
leanid.chaika

Reputation: 2462

How to name algorithm in c++ for process items in collection which can add or remove items?

Score: 1

Views: 137

Answers: 2

Read More
Phil-ZXX
Phil-ZXX

Reputation: 3275

Safely convert std::string_view to int (like stoi or atoi)

Score: 53

Views: 36399

Answers: 6

Read More
Scindix
Scindix

Reputation: 1304

concatenate string_views in constexpr

Score: 6

Views: 12607

Answers: 3

Read More
Youda008
Youda008

Reputation: 1959

Difference between std::basic_string_view<T> and std::span<T>

Score: 7

Views: 2962

Answers: 2

Read More
Tootsie
Tootsie

Reputation: 909

using std::string_view and unique_ptr to manage memory from malloc()

Score: 1

Views: 115

Answers: 0

Read More
nshct
nshct

Reputation: 1230

Implementation of string_view formatted stream ouput

Score: 11

Views: 3867

Answers: 2

Read More
Rittik
Rittik

Reputation: 5

Why does gdb octal-escape characters when querying a string assigned to a char array containing control characters?

Score: 0

Views: 114

Answers: 1

Read More
MikimotoH
MikimotoH

Reputation: 403

How to implement constexpr string_view multiplication with a number

Score: 3

Views: 432

Answers: 3

Read More
Simpleton
Simpleton

Reputation: 703

Why doesn't std::string_view have assign() and clear() methods?

Score: 7

Views: 6100

Answers: 6

Read More
Lluís Alemany-Puig
Lluís Alemany-Puig

Reputation: 1243

Is `std::map<std::string, int>` faster than `std::map<std::string_view, int>`?

Score: 22

Views: 1328

Answers: 2

Read More
JWZ1996
JWZ1996

Reputation: 117

File to std::string_view

Score: 0

Views: 2429

Answers: 3

Read More
VoidStar
VoidStar

Reputation: 5421

Is there a common pattern for passing vector<string> as span<string_view>?

Score: 4

Views: 1316

Answers: 1

Read More
Joel Bodenmann
Joel Bodenmann

Reputation: 2282

Create span of string_views from C string array

Score: 7

Views: 2711

Answers: 1

Read More
PreviousPage 1Next