Skip to content

Code cleanup#33

Open
mingxwa wants to merge 2 commits intongcpp:mainfrom
mingxwa:user/mingxwa/refactor
Open

Code cleanup#33
mingxwa wants to merge 2 commits intongcpp:mainfrom
mingxwa:user/mingxwa/refactor

Conversation

@mingxwa
Copy link
Copy Markdown
Collaborator

@mingxwa mingxwa commented May 3, 2026

Changes

  • Updated the wording for "pointer-like type eligible for proxy" in named requirements ProFacade: Removed clause "P is not a specialization of proxy". This does not align with the standard wording style.
  • In the value constructors / assignments of proxy, specified that they won't participate overload resolution if std::decay_t<P> is a specialization of proxy.
  • Split detail::ptr_traits into concept pointer_like and concept specialization_of.
  • Added missing requires clause in swap().
  • Removed redundant <F> from invoke().
  • Added a unit test case for proxiable eligibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant