Re:Transmission torrent client ported to C++
by account42 on Tuesday September 14, 2021 @07:20AM
(#28523015)
> Not much of a binary size increase from static linking because most is template headers.
Unless you use anything that pulls in locale code (e.g. any stream), in which case you will get code for things like date and monetary formatting in your library even if it is never used.
Re:Transmission torrent client ported to C++
by jupp0r on Monday September 20, 2021 @01:01PM
(#28595999)
Linkers are pretty good at throwing out dead code, so if you don't reference these functions there's a decent chance they won't be linked in when linking statically.
Unless you use anything that pulls in locale code (e.g. any stream), in which case you will get code for things like date and monetary formatting in your library even if it is never used.