C++ Logo


Advanced search

Re: Partial type definition

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Tue, 24 Aug 2021 23:08:21 +0300
On Tue, 24 Aug 2021 at 23:05, Ville Voutilainen
<ville.voutilainen_at_[hidden]> wrote:
> I doubt it's viable to allow the real definition of X to omit the
> things defined in the partial definition. A translation
> unit that sees the real definition might not see the partial
> definition, and then you have a serious ODR problem.

..which is not to say that this idea isn't riddled with different ODR
problems to begin with, though. :)

Received on 2021-08-24 15:08:35