Date: Tue, 24 Aug 2021 21:01:41 +0300
You are right, a am not fully understand this feature. Would you point me
to the example of partial class definition in the document. I am very
interesting how this feature allows the forward declaration of interface
methods.
Thank you in advance.
On Tue, Aug 24, 2021, 19:25 Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> On Monday, 23 August 2021 22:00:16 PDT Valery Osheter via Std-Proposals
> wrote:
> > I just want the compuler knows that my class has some public methods
> before
> > I define whole class structure. The same is right for deduced this as
> well.
> > The method of partial declaration I proposed uses extern keyword without
> > variable declaration. If you think this method leads to misuse and
> errors,
> > I can propose an alternative:
> >
> > struct worker;
> > void worker::work();
>
> 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?
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Software Architect - Intel DPG Cloud Engineering
>
>
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
to the example of partial class definition in the document. I am very
interesting how this feature allows the forward declaration of interface
methods.
Thank you in advance.
On Tue, Aug 24, 2021, 19:25 Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> On Monday, 23 August 2021 22:00:16 PDT Valery Osheter via Std-Proposals
> wrote:
> > I just want the compuler knows that my class has some public methods
> before
> > I define whole class structure. The same is right for deduced this as
> well.
> > The method of partial declaration I proposed uses extern keyword without
> > variable declaration. If you think this method leads to misuse and
> errors,
> > I can propose an alternative:
> >
> > struct worker;
> > void worker::work();
>
> 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?
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Software Architect - Intel DPG Cloud Engineering
>
>
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
Received on 2021-08-24 13:01:58