C++ Logo

std-discussion

Advanced search

Re: Is module module declaration?

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Thu, 17 Feb 2022 09:42:02 -0500
Reposting for the sake of the ML.

On Thu, Feb 17, 2022 at 3:05 AM Vladimir Grigoriev <vlad.moscow_at_[hidden]> wrote:
>
> So it is not a module declaration is not it?

No, it does not fit the grammar of a *module-declaration*. It fits
the grammar of a *global-module-fragment*.

> And how to what is it reading the section «10.2 Export declaration» where it is used in examples?

The standard frequently uses grammar defined later in earlier
examples. This is no different.

Received on 2022-02-17 14:42:13