Skip to content

P0892R2: explicit(bool) #100597

Closed
Closed

Description

Activity

  1. added
    good first issuehttps://github.com/llvm/llvm-project/contribute
    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
    on Jul 25, 2024
  2. llvmbot commented on Jul 25, 2024

    @llvmbot
    Member

    @llvm/issue-subscribers-c-20

    Author: Christopher Di Bella (cjdb)

    Details **Link:** https://wg21.link/p0892r2
  3. added
    wg21-paperIssues representing the implementation of a WG21 paper
    on Jul 30, 2024
  4. jkarns275 commented on Jul 31, 2024

    @jkarns275

    Going to take a stab at this :)

  5. jkarns275 commented on Jul 31, 2024

    @jkarns275
  6. cjdb commented on Aug 1, 2024

    @cjdb
    ContributorAuthor

    Thanks! Can you please update the status page and close this issue?

  7. jkarns275 commented on Aug 1, 2024

    @jkarns275

    I just checked and it looks like the status page does indeed reflect this, as of clang-9 it has been implemented. I don't have permission to close issues otherwise I would :p

  8. cjdb commented on Aug 1, 2024

    @cjdb
    ContributorAuthor

    This issue is tracking the libc++ component of this paper, not Clang's.

  9. jkarns275 commented on Aug 1, 2024

    @jkarns275

    I see - apologies, I'm not very familiar with things around here :p. I will indeed try to make these changes then.

  10. 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
  11. Rajveer100 commented on Aug 1, 2024

    @Rajveer100
    Member

    @cjdb
    This feature was introduced way back in C++20 I believe and should have been implemented in libcxx as well, I see several instances of this being used, did you mean to highlight any specific places that may have been missed out?

  12. jkarns275 commented on Aug 1, 2024

    @jkarns275

    @Rajveer100 I noticed that it is not implemented in std::optional yesterday. There may be a reason for it though as the new definitions including explicit(bool) were detailed in the synopsis.

  13. cjdb commented on Aug 1, 2024

    @cjdb
    ContributorAuthor

    @cjdb This feature was introduced way back in C++20 I believe and should have been implemented in libcxx as well, I see several instances of this being used, did you mean to highlight any specific places that may have been missed out?

    libc++ is not C++20 feature complete, so it being introduced in C++20 doesn't indicate very much. This issue is open because the libc++ status page has not marked it as completed, and thus we either need to implement it or mark it as completed in our status page.

  14. philnik777 commented on Aug 1, 2024

    @philnik777
    Contributor

    I think this should just be marked as nothing to do, since the paper basically just replaces implementation magic with a language feature.

  15. cjdb commented on Aug 1, 2024

    @cjdb
    ContributorAuthor

    I think this should just be marked as nothing to do, since the paper basically just replaces implementation magic with a language feature.

    That's my hope too. I didn't read the library section closely enough to confirm that it only changes things in C++17.

  16. changed the title [-]Implement 'P0892R2 explicit(bool)'[/-] [+]P0892R2: explicit(bool)[/+] on Aug 1, 2024
  17. deleted a comment from llvmbot on Aug 29, 2024
  18. deleted a comment from llvmbot on Aug 29, 2024
  19. ldionne commented on Aug 29, 2024

    @ldionne
    Member

    Closing as Nothing To Do since this indeed doesn't require any changes in the library.

  20. moved this from Done to Nothing To Do in libc++ Standards Conformanceon Aug 29, 2024
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.potentially good for outreachConsider this issue as a good first issue for someone that has spoken to an experienced LLVM devwg21-paperIssues representing the implementation of a WG21 paper

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions