<div dir="ltr"><div>Right.</div><div>Maybe I should say "unique" or "private" (... that is a reserved keyword), because it may collide with another cpp when joined by unity, but they are not exposed outside.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 27 Nov 2023 at 18:02, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Le 27/11/2023 à 17:43, Javier Jimenez Shaw a écrit :<br>
> Hi Even<br>
><br>
> Thanks for the work. As you say, having the option is useful. It is <br>
> true that anonymous namespaces are not anonymous any more,<br>
<br>
Depends on how you resolve the collisions, but the concept of anonymous <br>
namespace still exists<br>
<br>
That is, you can't do anymore<br>
<br>
a.cpp: namespace { struct foo{}; }<br>
b.cpp: namespace { struct foo{}; }<br>
<br>
But you can do:<br>
<br>
a.cpp: namespace { struct foo{}; }<br>
b.cpp: namespace { struct bar{}; }<br>
<br>
Regarding to code external to PROJ, the anonymity is still preserved<br>
<br>
<br>
-- <br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
My software is free, but my time generally not.<br>
<br>
</blockquote></div>