C++ Logo


Advanced search

Re: Partial type definition

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 24 Aug 2021 11:54:36 -0700
On Tuesday, 24 August 2021 11:51:16 PDT Thiago Macieira via Std-Proposals
> On Tuesday, 24 August 2021 11:41:30 PDT Olaf van der Spek wrote:
> > > You did not address my point. Do we need another method of declaring
> > > methods that can be called in an object without defining the entire
> > > object, in the presence of deduced this?
> >
> > Deduced this doesn't allow one to keep implementation details fully
> > private AFAIK.
> Why not? Can you give a counter-example of what you want to do and isn't
> possible with them?

Sorry, I missed something important: the deduced this functions are declared
in the body of the class. So they wouldn't solve the request at all.

Anyway, partial class definitions have been discussed before. The OP needs to
look them up and provide answers to any outstanding questions left from them.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2021-08-24 13:54:41