C++ Logo

std-proposals

Advanced search

Re: Partial type definition

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 24 Aug 2021 12:44:28 -0700
On Tuesday, 24 August 2021 12:42:38 PDT Valery Osheter wrote:
> I found https://groups.google.com/a/isocpp.org/g/std-proposals/c/9VaHOnP_kPg
> and it is rejected. I propose simpler solution that does not require to
> change the syntax nor the standard library. Just allow programmer to
> declare the public methods of the class.
>
> I strongly support the motivation of the authors. The fundamental problem of
> hiding implementation details still present in modern c++ and requres a
> cheap and straightforward solution. Forward method declaration can be
> easely explained and accepted. It does not break the backward compatibility
> of the language in any form.

I think the motivation is well understood.

But please proceed to a paper, otherwise it'll never happen.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2021-08-24 14:44:34