Skip to content

[libc++] P2255R2: Implement type traits #129049

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

Closed
2 tasks done
Zingam opened this issue Feb 27, 2025 · 0 comments · Fixed by #128649
Closed
2 tasks done

[libc++] P2255R2: Implement type traits #129049

Zingam opened this issue Feb 27, 2025 · 0 comments · Fixed by #128649
Assignees
Labels
c++23 libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Comments

@Zingam
Copy link
Contributor

Zingam commented Feb 27, 2025

@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Feb 27, 2025
@Zingam Zingam self-assigned this Mar 8, 2025
philnik777 pushed a commit that referenced this issue Mar 8, 2025
…nding to temporary" (#128649)

Implements partially: [P2255R2: A type trait to detect reference binding
to temporary](https://wg21.link/P2255R2)
Issue: #105180

https://eel.is/c++draft/meta.type.synop
https://eel.is/c++draft/meta.unary.prop

Implented type traits:
- [x] `reference_constructs_from_temporary`
- [x] `reference_converts_from_temporary`

Closes #129049

Minor drive-by tweak to `std::is_implicit_lifetime` tests.

---------

Co-authored-by: Hristo Hristov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++23 libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
3 participants