C++ Logo


Advanced search

Re: [SG15] module source suffixes

From: Olga Arkhipova <olgaark_at_[hidden]>
Date: Tue, 27 Aug 2019 03:49:16 +0000
You still will be able to do it, but at least in MSVC case you'll have to explicitly tell the compiler (by setting /module:interface switch) that this cpp file is actually a module.

-----Original Message-----
From: SG15 <sg15-bounces_at_lists.isocpp.org> On Behalf Of Lyberta via SG15
Sent: Monday, August 26, 2019 7:19 PM
To: Olga Arkhipova via SG15 <sg15_at_lists.isocpp.org>
Cc: Lyberta <lyberta_at_lyberta.net>
Subject: Re: [SG15] module source suffixes

Olga Arkhipova via SG15:
> VS needs to distinguish module interface files as they require very special treatment in the IDE.

What about open source code bases where there is no need to have a split? I intent to just merge .h+.cpp files into a 1 .cpp file that has both interface and implementation.

Received on 2019-08-26 22:51:20