C++ Logo

std-discussion

Advanced search

Re: Comparison operators

From: Edward Catmur <ecatmur_at_[hidden]>
Date: Mon, 19 Dec 2022 11:33:05 +0000
On Mon, 19 Dec 2022, 11:31 Vladimir Grigoriev via Std-Discussion, <
std-discussion_at_[hidden]> wrote:

> Can anybody translate this phrase from the C++ 20 Standard
>
> «Name lookups in the defaulted definition of a comparison operator
> function are performed from a context equivalent to its function-body.»
>
> to the human language?
>
> How can a context be equivalent to a function body? They are two
> different notions.
>

A context equivalent to the context of the function body.


With best regards
> (Vlad from Moscow)
> You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or
> http://ru.stackoverflow.com
> --
> Std-Discussion mailing list
> Std-Discussion_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion
>

Received on 2022-12-19 11:33:19