How standard is the string class ?

How standard is the string class ?

We may want to use the C++ string class if itis specified as part of some open standard andis not just provided by the g++ compiler. Is the string class part of some standard, and can I except to see it with other compilers? Is it portable ?

I’m afraid I haven’t worked with the g++ compiler, and the answer is entirely dependent on exactly what you mean by “the C++ string class.”The STL, or standard template library, includes a string class that is pretty much standard. Other classes, such as Microsoft Foundation Classes’ CString class, are not.

See also  Is Machine Learning Automating Creativity in Graphic Design?

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist