I have a C++ app for Windows. In Visual Studio I can change configuration of compiler including optimization options (ie /O1 /O2 etc.). After that all my source code will be compiled as I wish.
But what about functions/classes from STL? As I understand some of them not templates but regular C++ functions. Are they pre-built somehow? What compiler options used to compile them? Can I can change these config?
They are pre-built in a non-documented process. You are not supposed to redo this, but have to trust the compiler team to know the proper settings. :-)
If you look in your Visual Studio program folder, the libraries are in the VC/lib
folder, and all the sources in VC/crt/src
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.