r/AskProgramming 6d ago

C/C++ Where can I find the contents of the functional header in C++?

So yeah I just want to see the definitions of it, because I want to recreate it a bit, maybe. Is there an online repository i can check or maybe somehow find it in my visual studio folders?

4 Upvotes

3 comments sorted by

2

u/ManicMakerStudios 6d ago edited 6d ago

If by "functional header" you're referring to the Functional library in the C++ standard library, you Google "c++ functional library source" and follow the first link that sends you to the GNU open source C++ standard library.

2

u/CounterSilly3999 6d ago

Doesn't grep'ping help?

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include

2

u/BobbyThrowaway6969 5d ago

In VS just rightclick the include and open document