Skip to content

LWG3116: OUTERMOST_ALLOC_TRAITS needs remove_reference_t #100244

Closed

Description

@cjdb

Activity

  1. added
    good first issuehttps://github.com/llvm/llvm-project/contribute
    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
    lwg-issueCanonical version of a Library Working Group issue.
    on Jul 23, 2024
  2. llvmbot commented on Jul 23, 2024

    @llvmbot
    Member

    Hi!

    This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:

    1. Check that no other contributor has already been assigned to this issue. If you believe that no one is actually working on it despite an assignment, ping the person. After one week without a response, the assignee may be changed.
    2. In the comments of this issue, request for it to be assigned to you, or just create a pull request after following the steps below. Mention this issue in the description of the pull request.
    3. Fix the issue locally.
    4. Run the test suite locally. Remember that the subdirectories under test/ create fine-grained testing targets, so you can e.g. use make check-clang-ast to only run Clang's AST tests.
    5. Create a Git commit.
    6. Run git clang-format HEAD~1 to format your changes.
    7. Open a pull request to the upstream repository on GitHub. Detailed instructions can be found in GitHub's documentation. Mention this issue in the description of the pull request.

    If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below.

  3. llvmbot commented on Jul 23, 2024

    @llvmbot
    Member

    @llvm/issue-subscribers-good-first-issue

    Author: Christopher Di Bella (cjdb)

    Details **Link:** https://wg21.link/lwg3116
  4. llvmbot commented on Jul 23, 2024

    @llvmbot
    Member

    @llvm/issue-subscribers-c-20

    Author: Christopher Di Bella (cjdb)

    Details **Link:** https://wg21.link/lwg3116
  5. added
    potentially good for outreachConsider this issue as a good first issue for someone that has spoken to an experienced LLVM dev
    and removed
    good first issuehttps://github.com/llvm/llvm-project/contribute
    on Aug 1, 2024
  6. changed the title [-]Apply 'LWG3116 `OUTERMOST_ALLOC_TRAITS` needs `remove_reference_t`'[/-] [+]LWG3116: `OUTERMOST_ALLOC_TRAITS` needs `remove_reference_t`[/+] on Aug 1, 2024
  7. AidanLam06 commented on Jul 15, 2026

    @AidanLam06
    Contributor

    Can I have this assigned to me?

  8. frederick-vs-ja commented on Jul 15, 2026

    @frederick-vs-ja
    Contributor

    Can I have this assigned to me?

    Thanks. I think you may just submit a PR without assignment.

    I believe libc++ has implemented LWG3116 when initially implementing scoped_allocator_adaptor. See 3e51952 and 20cc2a4. Later the implementation detail was changed to __libcpp_remove_reference_t via 5fab33a but there was no functional change.

    I think we should update this line to say |Complete| without version. (Or alternatively, in ver. 2.8.)

    "`LWG3116 <https://wg21.link/LWG3116>`__","``OUTERMOST_ALLOC_TRAITS``\ needs ``remove_reference_t``\ ","2018-11 (San Diego)","","","`#100244 <https://github.com/llvm/llvm-project/issues/100244>`__",""

    Perhaps existing test coverage is sufficient because scoped_allocator_adaptor simply doesn't work using the original broken wording.

  9. AidanLam06 commented on Jul 15, 2026

    @AidanLam06
    Contributor

    Can I have this assigned to me?

    Thanks. I think you may just submit a PR without assignment.

    I believe libc++ has implemented LWG3116 when initially implementing scoped_allocator_adaptor. See 3e51952 and 20cc2a4. Later the implementation detail was changed to __libcpp_remove_reference_t via 5fab33a but there was no functional change.

    I think we should update this line to say |Complete| without version. (Or alternatively, in ver. 2.8.)

    llvm-project/libcxx/docs/Status/Cxx20Issues.csv

    Line 115 in 2033c45

    "LWG3116 <https://wg21.link/LWG3116>","OUTERMOST_ALLOC_TRAITS\ needs remove_reference_t\ ","2018-11 (San Diego)","","","#100244 <https://github.com/llvm/llvm-project/issues/100244>",""
    Perhaps existing test coverage is sufficient because scoped_allocator_adaptor simply doesn't work using the original broken wording.

    Sounds good just submitted the PR.

  10. added a commit that references this issue on Aug 3, 2026
    4296c14
  11. added a commit that references this issue on Aug 6, 2026
    9b12194
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++20libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.lwg-issueCanonical version of a Library Working Group issue.potentially good for outreachConsider this issue as a good first issue for someone that has spoken to an experienced LLVM dev

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions