cpp-docs
cpp-docs copied to clipboard
Update `<array>` functions reference
Overall changes
- Make template parameter names more readable
- Add bunch of
std::and "Template parameters" headings - Simplify single "See also" link and update metadata
get
- Add missing
const&&overload
swap
- For now, I skipped the
noexceptspecification introduced in C++17 as I need more time to think how to best represent it
| Overload # | microsoft/STL |
cplusplus/draft |
|---|---|---|
| 1 | stl/inc/array#L771-L772 |
source/containers.tex#L6083-L6084 |
to_array
- Document C++20
std::to_arrayfunction - In the example output, the trailing spaces are preserved but the NUL character is stripped to prevent issues
| Overload # | microsoft/STL |
cplusplus/draft |
|---|---|---|
| 1 | stl/inc/array#L828-L829 |
source/containers.tex#L6087-L6088 |
| 2 | stl/inc/array#L837-L838 |
source/containers.tex#L6089-L6090 |