James Kanze
10/1/2008 8:03:00 PM
On Oct 1, 7:05 pm, Rolf Magnus <ramag...@t-online.de> wrote:
[re definitions in anonymous namespaces...]
> The standard requires them to have external linkage. And the
> compiler I use does actually provide them as external symbols
> using some unique prefix for the symbol name. Why it needs to
> do this, I don't know.
Possibly for its implementation of export:-). (Seriously,
probably just because that's the simplest solution. Generate
the unique name, and for the rest, treat it just like anything
else. No special cases, no extra code, etc.)
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34