nix icon indicating copy to clipboard operation
nix copied to clipboard

Use C++ modules

Open L-as opened this issue 2 years ago • 1 comments

Perhaps a duplicate issue.

C++ modules seem objectively better than headers.

Perhaps some of the stuff that Nix does with headers can't be replicated with modules but it seems like you can use them both at the same time.

For reference: https://clang.llvm.org/docs/StandardCPlusPlusModules.html

L-as avatar Jan 04 '24 14:01 L-as

Might be easier with #3160

L-as avatar May 07 '24 09:05 L-as

See https://github.com/mesonbuild/meson/blob/864919973f73ec2c6ae6ca01be7fe5e8b950df12/test%20cases/unit/85%20cpp%20modules/gcc/meson.build for example with Meson, seems very straight-forward

L-as avatar Jul 17 '24 23:07 L-as