C++ source code where can I find it?

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++

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
Topic archived. No new replies allowed.