Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You already have the STL sources, otherwise you wouldn't be able to use it
Anything template in C++ *must* be defined within a header file, since the compiler needs to be able to generate the correct code for each instation separately
So if you have the headers, you have the source -
h4xx3r17166y@Krokoklemme I would like to bundle the STL library(#include "iostream") rather than have it somewhere on the operating system (#include <iostream>).
Is that possible? -
@h4xx3r 1.) That doesn't really make any sense, since the only difference between "" and <> in includes is where the compiler starts searching for files (and it will ultimately end up in the system directory either way)
2.) Are you talking about statically linking the runtime? It's the next-closest thing, but something rather different
Your question isn't very clear. Maybe rethink your question and what you're actually trying to accomplish and what the difference between the symbols in #include is (explained here https://en.cppreference.com/w/cpp/...)
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
sam966911Hats off to this lady .... I would have just flipped the machine
Is there a way to download and include in the compilation the sources of STL libraries?
question
c++