ericniebler / range-v3

Range library for C++14/17/20, basis for C++20's std::ranges
Other
4.06k stars 437 forks source link

Fix name meaning change in nested class #1701

Closed jicama closed 2 years ago

jicama commented 2 years ago

C++20 [basic.scope.class]: A name N used in a class S shall refer to the same declaration in its context and when re-evaluated in the completed scope of S. No diagnostic is required for a violation of this rule.

This rule is violated by the unqualified use of meta::invoke followed by the declaration of partition_::invoke.

ericniebler commented 2 years ago

Thank you!