Date: Thu, 20 Jun 2019 21:34:56 -0700
On Thursday, 20 June 2019 14:41:33 PDT Matthew Woehlke via Std-Proposals
wrote:
> static std::shared_ptr<a> create(int x)
> {
> friend
> {
> // Within this block, all access protection to `a` is suspended.
> ...
> }
> }
Sorry, please clarify: is this a free function? Or is it a member of a?
If it is a member of a, then everything in there already has access to a.
wrote:
> static std::shared_ptr<a> create(int x)
> {
> friend
> {
> // Within this block, all access protection to `a` is suspended.
> ...
> }
> }
Sorry, please clarify: is this a free function? Or is it a member of a?
If it is a member of a, then everything in there already has access to a.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel System Software Products
Received on 2019-06-20 23:43:00