Search code examples
How to iterate over std::string const& in a function?...

c++stdstdstring

Read More
Why do I get a compiler error when including <string.h> and using std::basic_string?...

c++stdstring

Read More
How to convert a std::string to const char* or char*...

c++stringcharstdstring

Read More
Why can you assign nullptr to std::string?...

c++stringc++11stdstringnull-pointer

Read More
why is std::copy faster than std::string constructor?...

c++performancestdstdstring

Read More
convert string to argv in c++...

c++stdstringargv

Read More
Is it possible to use std::string in a constant expression?...

c++c++11constexprstdstring

Read More
I do not understand this substring behavior . Rather trivial but it boggles my mind...

c++stdstring

Read More
0xc2 character in std::string...

c++charstdstring

Read More
How to get part of a std::string into a streambuf without copying?...

c++boostboost-asiostdstringstreambuf

Read More
Should I use std::string or const char* for string constants?...

c++constantsstatic-membersstdstring

Read More
Why is initializing a string to "" more efficient than the default constructor?...

c++clangcompiler-optimizationstdstringlibc++

Read More
Does std::string move constructor actually move?...

c++c++11move-semanticsstdstringstdmove

Read More
Why does this work: returning C string literal from std::string function and calling c_str()...

c++undefined-behaviorstdstringtemporary-objects

Read More
Is there a null character at end of a std::string?...

c++stringstdstring

Read More
Is it safe to use the std::string::c_str() of a temporary string?...

c++stllanguage-lawyerstdstringtemporary-objects

Read More
Unexpected result when storing c_str() of temporary std::string in a variable...

c++pointersmemory-managementstdstringtemporary-objects

Read More
Why std::locale doesn't work with std::u32string?...

c++localestdstring

Read More
How to store either std::string or std::string_view in a std::variant?...

c++c++20stdstringstring-viewstd-variant

Read More
split a string by a vector of strings...

c++stdvectorstdstring

Read More
Weird behavior with std::string reference class member...

c++pass-by-referencestdstringpass-by-valuepass-by-const-reference

Read More
What does string::npos mean in this code?...

c++stdstringstd

Read More
Compile error with templates - no matching function for call...

c++templatestype-conversionstdstring

Read More
How to write a custom exception class derived from std::invalid_argument?...

c++exceptionc-stringsstdstringmicro-optimization

Read More
Can I change a std::string, which has been assigned to a std::string_view...

c++c++17stdstringstring-view

Read More
Can not create a wrapper around std::string that results in only "syntax sugar"...

c++inheritancestdstring

Read More
Rules for concatenating a CRLF (Carriage Return, Line Feed) to a std::string...

c++string-literalsstdstring

Read More
C++ pass string by reference vs pass char array by reference...

c++arrayspointersstdstring

Read More
What is the most efficent way to convert a QStringView to a std::string?...

c++qtc++20stdstringqt6

Read More
Return std::string as const reference...

c++stringreferenceconstantsstdstring

Read More
BackNext