C++ Logo


Advanced search

Re: Template specializations in modules

From: Charles Milette <charlesmilette_at_[hidden]>
Date: Wed, 2 Jun 2021 23:44:59 -0400
>From [module.interface]

> An exported declaration that is not a module-import-declaration
> shall declare at least one name.

And specializations do not introduce a new name.

On Wed, Jun 2, 2021 at 3:01 AM Jason McKesson via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> What makes you think that template specializations cannot be exported?
> I checked the modules and templates chapters of the standard, and I
> didn't see anything forbidding explicit template specializations from
> being exported.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2021-06-02 22:45:22