libstdc++: Fixes typos in various files
Corrects typos in libstdc++, improving code quality and reducing potential for errors.
This commit addresses typos found in numerous files within the libstdc++ library. These fixes span across various headers and source files, contributing to overall code quality and reducing potential for misinterpretation or errors. The affected files range from core utilities to experimental features, indicating a widespread effort to improve the library’s codebase.
In Details
libstdc++ is the standard C++ library implementation that ships with GCC. This commit touches a lot of files, from configure scripts and core headers (basic_string.h, chrono.h, stl_algo.h) to extensions (pb_ds, parallel) and compatibility shims (tr1). The breadth suggests a systematic sweep, not a targeted fix. Toolchain devs should care that the C++ runtime is held to a high standard, but the individual typos are unlikely to be interesting.
For Context
libstdc++ is the C++ standard library, providing essential data structures and functions for C++ programs. This commit fixes typos in many files within libstdc++. While these typos likely didn't cause functional problems, fixing them improves the code's readability and maintainability, which is important for such a fundamental library.