Re: c++: Support module language-decl semantics

2022-05-12 Thread Jonathan Wakely via Gcc-patches
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)

c++: Support module language-decl semantics

2022-05-12 Thread Nathan Sidwell
this might help with modularizing std? nathan -- Nathan SidwellFrom 78c8b0b980341f28de96da518a38bf85bbd24d98 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 9 May 2022 04:51:32 -0700 Subject: [PATCH] c++: Support module language-decl semantics In modules purview, one can attach a decl