2 ms·
The include is correct. First, includes either need to be wrapped in angle brackets (for files included from the include path passed to the compiler) or quotes
by KMag 3y ago
The include is correct.
First, includes either need to be wrapped in angle brackets (for files included from the include path passed to the compiler) or quotes (for paths relative to the current file).
Second, the whole standard library would be huge to pull in, so it is split into many headers, even for symbols in the top level of the std namespace.
- irowe 3y agoSomething I've learned recently is that the convention of when to use angle brackets and when to use quotes is not prescribed by the standard but instead is implementation-defined.