How is the C++ standard library linked to my application?

后端 未结 5 1780
情歌与酒
情歌与酒 2020-12-29 15:13

When I usually use code (include headers) from 3rd party (non-standard) C++ libraries, a pre-built binary file is linked to (or included in) the target executable that repre

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-29 15:54

    Most of it's all in the header files, because it's so heavily templated. Very little requires libstdc++.so (iostream, may be it, I think).

提交回复
热议问题