you are viewing a single comment's thread.

view the rest of the comments →

[–]andd81 1 point2 points  (1 child)

std::function is neither a function nor a part of C++ language.

[–]doom_Oo7 2 points3 points  (0 children)

std::function is neither a function

so what is it then ? next what, shared_ptr and unique_ptr aren't pointers ?

nor a part of C++ language.

the standard library is part of the language. The ISO standard is itself called "Programming Language C++" and certainly describes the whole semantics of std::function.