Skip to content

Update <array> functions reference #5684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Rageking8
Copy link
Contributor

@Rageking8 Rageking8 commented Aug 20, 2025

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
Overload # microsoft/STL cplusplus/draft
1 stl/inc/array#L852-L853 source/containers.tex#L6099-L6100
2 stl/inc/array#L866-L867 source/containers.tex#L6103-L6104
3 stl/inc/array#L876-L877 source/containers.tex#L6101-L6102
4 stl/inc/array#L890-L891 source/containers.tex#L6105-L6106

swap

  • For now, I skipped the noexcept specification 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_array function
  • 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

Copy link
Contributor

@Rageking8 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit d1f2f14:

✅ Validation status: passed

File Status Preview URL Details
docs/standard-library/array-functions.md ✅Succeeded
docs/standard-library/array.md ✅Succeeded

For more details, please refer to the build report.

Copy link
Contributor

PRMerger Results

Issue Description
File Change Percent This PR contains file(s) with more than 30% file change.

@v-regandowner
Copy link
Contributor

@TylerMSFT - Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged Tracking label for the PR review team label Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants