[ODE] Why no __declspec(dllexport)

Martin Slater mslater at hellinc.net
Thu Apr 29 13:46:29 MST 2004


> 3. a function or global variable that isn't visible outside the
current
> compilation unit.
> 
> And that, during this entire discussion, I've been talking about the
> third use?  Since that's what's relevant for visibility of
> functions/variables?


And for that you should probably use an anonymous namespace. Static is
pretty much deprecated for this purpose in modern c++;

Martin



More information about the ODE mailing list