C++ Logo

sg15

Advanced search

Re: P2898R0: Importable Headers are Not Universally Implementable

From: Daniel Ruoso <daniel_at_[hidden]>
Date: Fri, 19 May 2023 19:49:52 -0400
Em sex., 19 de mai. de 2023 às 01:41, Jens Maurer
<jens.maurer_at_[hidden]> escreveu:
> - This should also go to the Modules Study Group.

That's my plan once we have consensus on the tooling study group.

> - "Include the Local Preprocessor Arguments for those as an input to the dependency
> scanning process"
> I don't think that's accurate. Header units are specified, I believe, intentionally
> such that the preprocessor state from the importing site has no effect on the
> contents of the header unit.

Correct. When I say "Local Preprocessor Arguments", I mean the ones
that are going to be used in the translation of the header unit. Those
need to be used when creating the preprocessor state that gets merged
into the unit doing the import.

Received on 2023-05-19 23:50:04