On Thu, 12 May 2022 at 12:18, Nathan Sidwell wrote:
>
> In modules purview, one can attach a declaration to the global module
> (i.e. not the named module in whence the declaration appears), using a
> language declaration:
>
>    export module Foo;
>    extern "C++" void *operator new (std::size_t);
>
> This implements those semantics.
>
> Jonathan, I guess this might help with modularizing std?

Nice, thanks. I'm going to give the 'std' module another try soon.

Reply via email to