[clang] [Clang] Add __builtin_is_within_lifetime to implement P2641R4's std::is_within_lifetime (PR #91895)
Mital Ashok via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 11 04:25:52 PDT 2024
MitalAshok wrote:
@cor3ntin A `void*` can be a pointer to an object but `void*` is not a pointer-to-object type. `is_object_v<T>` -> `is_object_v<T> || is_void_v<T>` or `!is_function_v<T>`
https://github.com/llvm/llvm-project/pull/91895
More information about the cfe-commits
mailing list