C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Drop same sequence of tokens for inline

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 04 May 2023 17:33:29 -0700
On Thursday, 4 May 2023 15:05:29 PDT Jason McKesson via Std-Proposals wrote:
> Also, let's not forget that every template function and every class
> member function defined within the class (unless in the purview of a
> module) is implicitly `inline`. Should they also have static linkage
> implicitly?

No, because that breaks existing code.

But practice is that they have hidden visibility and this seems to suffice.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-05-05 00:33:30