Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

<type_traits>: Partially unblock P0466R5 for Clang#5621

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@frederick-vs-ja
Copy link
Contributor

Intrinsics__is_layout_compatible and__is_pointer_interconvertible_base_of are implemented in Clang 19 (LLVM-81506,LLVM-88473), so this PR unblocks the corresponding standard library components for Clang.

Unfortunately, according toWG21-P0466R5,

  • __cpp_lib_is_layout_compatible coversis_layout_compatible(_v) and__is_corresponding_member, and
  • __cpp_lib_is_pointer_interconvertible coversis_pointer_interconvertible_base_of(_v) andis_pointer_interconvertible_with_class,

so no feature-test macro should be unblocked for Clang at this moment.

Also adds workaround forLLVM-135273 and RWC, and specially handles EDG for IntelliSense with LLVM toolset.

StephanTLavavej reacted with heart emoji
@StephanTLavavej

This comment was marked as resolved.

@azure-pipelines

This comment was marked as resolved.

@StephanTLavavejStephanTLavavej added the enhancementSomething can be improved labelJun 24, 2025
@StephanTLavavejStephanTLavavej self-assigned thisJun 24, 2025
@StephanTLavavejStephanTLavavej added the compilerCompiler work involved labelJun 24, 2025
@StephanTLavavejStephanTLavavej removed their assignmentOct 3, 2025
@StephanTLavavejStephanTLavavej moved this fromInitial Review toReady To Merge inSTL Code ReviewsOct 3, 2025
@StephanTLavavejStephanTLavavej moved this fromReady To Merge toMerging inSTL Code ReviewsOct 3, 2025
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavejStephanTLavavej merged commit34ee4af intomicrosoft:mainOct 4, 2025
39 checks passed
@github-project-automationgithub-project-automationbot moved this fromMerging toDone inSTL Code ReviewsOct 4, 2025
@StephanTLavavej
Copy link
Member

Thanks for extending these type traits to every corner of the known universe! 🧑‍🚀 🛰️ 🚀

@frederick-vs-jafrederick-vs-ja deleted the p0466r5-clang-19 branchOctober 4, 2025 05:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@StephanTLavavejStephanTLavavejStephanTLavavej approved these changes

Assignees

No one assigned

Labels

compilerCompiler work involvedenhancementSomething can be improved

Projects

Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@frederick-vs-ja@StephanTLavavej

[8]ページ先頭

©2009-2025 Movatter.jp