C++03
C++03 is a version of an international standard for the programming language C++. It is defined by two standards organizations, the International Standards Organization (ISO) and the International Electrotechnical Commission (IEC), in standard ISO/IEC 14882:2003.
C++03 replaced the prior standard, called C++98, which was C++'s first international standard. C++03 left the core language unchanged,[1] but addressed many defects in C++98's language description.[1]
Among the more noteworthy changes to extant parts of the standard library, C++03 added the requirement that elements in a vector be stored contiguously.[2]
This codifies the common expectation that a C++ std::vector
object uses a memory layout similar to an array. While most implementations satisfied this expectation, it was not required by C++98.
See also
- C++ Technical Report 1 - Additions to the C++03 Standard Library
- C++98
- C++11
- C++14
- C++ Standard Library
References
- 1 2 "Bjarne Stroustrup's FAQ – What is the difference between C++98 and C++03?". Bjarne Stroustrup's homepage.
- ↑ Herb, Sutter (2002). More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions. Boston: Pearson Education, Inc. p. 48. ISBN 0-201-70434-X.
- British Standards Institute (2003-10-01). The C++ Standard: Incorporating Technical Corrigendum No. 1. John Wiley & Sons, Inc. ISBN 978-0-470-84674-2.
|