[libcxx-commits] [clang] [libunwind] [llvm] [lld] [flang] [libc] [mlir] [libcxx] [lldb] [compiler-rt] [libcxxabi] [clang-tools-extra] [clang] static operators should evaluate object argument (PR #68485)
Tianlan Zhou via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 11 09:15:45 PST 2024
================
@@ -5680,8 +5680,13 @@ static ImplicitConversionSequence TryObjectArgumentInitialization(
QualType ClassType = S.Context.getTypeDeclType(ActingContext);
// [class.dtor]p2: A destructor can be invoked for a const, volatile or
// const volatile object.
+ // Also, a static operator can be invoked for a const, volatile or const
+ // volatile object, apparently.
----------------
SuperSodaSea wrote:
I checked the old version of the standard and found that this wording exists in C++98. File updated.
https://github.com/llvm/llvm-project/pull/68485
More information about the libcxx-commits
mailing list