Search code examples
C++20 with u8, char8_t and std::string...


c++stdstringc++20

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


c++c++11constexprstdstring

Read More
std::string formatting like sprintf...


c++stringformattingstdstringstd

Read More
How to assign a std::string from std::put_time in C++?...


c++timecastingstdstring

Read More
C++ std:: string starts_with/ends_with case insensitive versions?...


c++c++20stdstringstl-algorithmstd-ranges

Read More
Why can I define a std::string instance that is constinit? Isn't constinit forbidden if an objec...


c++c++20stdstringconstinit

Read More
Is it safe to write to a std::string's buffer directly?...


c++c++11stdstring

Read More
How to convert std::string to LPVOID...


c++stdstring

Read More
Why do basic_string::size() & '_M_string_length' in same class, return **different** val...


c++stdstring

Read More
I do not understand std::string from std::stream...


c++streamstdstdstring

Read More
Appending formatted content to a `std::string` without creating temporaries...


c++stdstring

Read More
Generating compile time functions string for formatting strings with {fmt}...


c++c++17constexprstdstringfmt

Read More
Do objects part of a class not get constructed until its constructor is called...


c++constructorinitializer-liststdstringraii

Read More
How to resize a std::string and have it have the same capacity?...


c++stdstring

Read More
How to replace all occurrences of one character with two characters using std::string?...


c++replaceescapingstdstring

Read More
c++ std::string use overwrites values...


c++stdstring

Read More
convert a char* to std::string...


c++stdstring

Read More
Why is assignment of 0 or nullptr to std::string allowed, even when it results in a straight forward...


c++c++14language-lawyerstdstringnullptr

Read More
Disable std:string's SSO...


c++stringstdstring

Read More
Avoid Copying string from ostringstream...


c++stdstringostringstream

Read More
snprintf to pre-sized std::string doesn't work?...


c++printfstdstring

Read More
How do you construct a std::string with an embedded null?...


c++nullstdstring

Read More
Does std::string have a null terminator?...


c++stringnullstdstringnull-terminated

Read More
Is it safe to pass an `std::string` temporary into an `std::string_view` parameter?...


c++c++17stdstringstring-view

Read More
C++ const std:string& security when passing to a third-party API...


c++stringsecuritystdstring

Read More
std::string from const char* with zero allocation...


c++allocationstdstring

Read More
I want to convert std::string into a const wchar_t *...


c++stlwchar-tstdstring

Read More
segmentation fault in c++ programme...


c++segmentation-faultinitializationstdstring

Read More
Getting random symbols after trying to replace chars in C++...


c++loopscharnested-loopsstdstring

Read More
Unicode characters, C++ and libcurl...


stringunicodeencodingstringstreamstdstring

Read More
BackNext