This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115a. See for the official list.


2230. Linkage of extern "C" function in unnamed namespace

Section: 6.6  []     Status: NAD     Submitter: Jonathan Wakely     Date: 2016-03-09


  namespace {
    extern "C" void f() { }

Does f have internal or external linkage? Implementations seem to give f external linkage, but the standard prescribes internal linkage per 6.6 [] paragraph 4.

Rationale (November, 2016):

The specification is as intended.