Can a std::string contain embedded nulls?

Posted by WilliamKF on Stack Overflow See other posts from Stack Overflow or by WilliamKF
Published on 2010-05-16T22:42:00Z Indexed on 2010/05/16 22:50 UTC
Read the original article Hit count: 214

For regular C strings, a NULL signifies the end of data.

What about std::string, can I have a string with embedded NULLS?

© Stack Overflow or respective owner

Related posts about stdstring

Related posts about c-string