3 ms·
The C++ standard library is about 90% template code in headers. Yes, you compile it all the time, in your own environment. You have no choice.
by bregma 3y ago
The C++ standard library is about 90% template code in headers. Yes, you compile it all the time, in your own environment. You have no choice.
- menaerus 3y agoThe fact that you will use a class or function template from STL, and compile it, doesn't change the fact that, regardless of that, you will have to link against the libstdc++ or libc++ which you didn't compile yourself. I am not sure I understand the argument you're trying to make.