Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in stdstring

C++: Correct implementation for passing a std::string to a C function that wants to change the string?

c++ char stdstring

How to get a writable C buffer from std::string?

c++ windows mfc stdstring

std::map::clear and elements' destructors

c++ stdstring stdmap

Is this "elision failure" language-mandated?

c++ Function to format time_t as std::string: buffer length?

C++ Is a std::string a container?

c++ containers stdstring

std::string::assign() causes segfault

How to force std::stringstream operator >> to read an entire string?

c++ stl stringstream stdstring

Can I free the memory of the char* string when I assign it to std::string?

c++ string free stdstring

How do I cast `std::string` to `std::vector<unsigned char>` without making a copy?

In C++11 what is the most performant way to return a reference/pointer to a position in a std::string?

c++ c++11 stdstring

Can `std::basic_string::operator[]` return a "distant" protected page nul terminator?

When compiling with MINGW gcc, overloaded new operator is not called for std::string

c++ gcc stdstring gcc9

How to properly return std::string (or how to properly use that returned value)

c++ return-value stdstring

Limit number of std::string allocations

When to use char array instead of strings in c++?

Substring of a std::string in utf-8? C++11

c++ c++11 utf-8 substr stdstring

Read and remove first (or last) line from txt file without copying

Why does emplace_back("Hello") call strlen?

c++ stdvector stdstring

How to elegantly initialize vector<char *> with string literal?