C++ Logo

sg15

Advanced search

Re: Terminology for tooling (Was: P2581R0: Specifying the Interoperability of Binary Module Interface Files)

From: Brad King <brad.king_at_[hidden]>
Date: Fri, 6 May 2022 10:06:44 -0400
On 5/5/2022 10:57 AM, Daniel Ruoso via SG15 wrote:
> "Module Implementation Partition Units":
> The translation units with "module foo:bar"

Currently MSVC defines two different kinds of translation
units that both use the syntax "module foo:bar":

* `cl -internalPartition -c example.cpp` writes a BMI for the
   module partition.

* `cl -c example.cpp` expects a BMI for the module partition
   to already be present, and reads it. It is like a
   "module implementation unit", but for a module partition.

Daniel, to which does "Module Implementation Partition Unit" refer?

-Brad

Received on 2022-05-06 14:06:47