G
gauravbjain
I am planning to move from ‘static’ keyword to anonymous namespace for
variables/functions which are local to a translation unit. This is to
move code closer to C++, since static for file level names is
deprecated by standard.
I am queries if doing this may have any downside associated with it,
since it would give external linkage to all these names? May be size
increase of generated object files which I believe should be taken
care by final symbol stripping. Suggestions?
--
variables/functions which are local to a translation unit. This is to
move code closer to C++, since static for file level names is
deprecated by standard.
I am queries if doing this may have any downside associated with it,
since it would give external linkage to all these names? May be size
increase of generated object files which I believe should be taken
care by final symbol stripping. Suggestions?
--