C++ source code where can I find it?

Mar 24, 2019 at 4:51pm
Let's say for a library like algorithm
I want to see what the swap member function is doing.

and also how do I call this, like what name does this go by?
Source code for syntax?

The stuff Stroup coded to create c++

Mar 24, 2019 at 5:21pm
An implementation of C++ standard library is generally provided with your compiler.

The GNU implementation starts here: https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3

The LLVM implementation starts here: https://github.com/llvm/llvm-project/tree/master/libcxx

The C++ language demands that these libraries and functions exist; it's up tot he implementations to write them.
Last edited on Mar 24, 2019 at 5:22pm
Topic archived. No new replies allowed.