C++03
C++03 refers to a version of the C++ programming language as defined in standard ISO/IEC 14882:2003.
This version of the C++ programming language standard replaced the standard referred to as C++98, which represented the language's first international standard. In essence, C++03 does not provide any changes to the core language;[1] however, it addresses many defects in the language description of the previous version of the standard.[1]
Among the more noteworthy changes to existing parts of the standard library, C++03 added the requirement that elements in a vector are 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 previously required by the standard document.
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.
|