diff options
author | cor3ntin <corentinjabot@gmail.com> | 2024-06-05 16:50:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 16:50:42 +0200 |
commit | d0223b9ffc40146fb4a948ebfa652dc95499b7ba (patch) | |
tree | be4ea00c92269ae577aa2278d77bdeaf71d67e75 /clang/docs | |
parent | c537f3564684662748f76cccc325287cb0f54cbd (diff) | |
download | llvm-d0223b9ffc40146fb4a948ebfa652dc95499b7ba.zip llvm-d0223b9ffc40146fb4a948ebfa652dc95499b7ba.tar.gz llvm-d0223b9ffc40146fb4a948ebfa652dc95499b7ba.tar.bz2 |
[Clang] Static and explicit object member functions with the same parameter-type-lists (#93430)
Implement P2797.
Because taking the address of an explicit object member function results
in a function pointer, a call expression where the id-expression is an
explicit object member is made to behave consistently with that model.
This change forces clang to perform overload resolution in the presence
of an id-expression of the form `(&Foo::bar)(args...)`, which we
previously failed to do consistently.
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index deb1560..81b6f8f 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -214,6 +214,9 @@ C++23 Feature Support - Added a ``__reference_converts_from_temporary`` builtin, completing the necessary compiler support for `P2255R2: Type trait to determine if a reference binds to a temporary <https://wg21.link/P2255R2>`_. +- Implemented `P2797R0: Static and explicit object member functions with the same parameter-type-lists <https://wg21.link/P2797R0>`_. + This completes the support for "deducing this". + C++2c Feature Support ^^^^^^^^^^^^^^^^^^^^^ |