Date: Mon, 3 Apr 2023 11:11:36 +0100
On Mon, Apr 3, 2023 at 11:04 AM Bo Persson via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
>
> You already have the option to mark global functions with the scope
> resolution operator.
>
> void SomeClass::SomeFunc(void)
> {
> ::SomeOtherFunc();
> }
>
> Then the rest must be members, right?
The following doesn't compile:
https://godbolt.org/z/McsfWds38
Here is is copy-pasted:
namespace Monkey {
void Func(void) {}
class Lizard {
void Func(void) {}
void Func2(void)
{
return ::Func();
}
};
}
<std-proposals_at_[hidden]> wrote:
>
>
> You already have the option to mark global functions with the scope
> resolution operator.
>
> void SomeClass::SomeFunc(void)
> {
> ::SomeOtherFunc();
> }
>
> Then the rest must be members, right?
The following doesn't compile:
https://godbolt.org/z/McsfWds38
Here is is copy-pasted:
namespace Monkey {
void Func(void) {}
class Lizard {
void Func(void) {}
void Func2(void)
{
return ::Func();
}
};
}
Received on 2023-04-03 10:11:45