Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use "man std::find" in linux?

Tags:

c++

stl

manpage

I am using Ubuntu, and have already installed libstdc++6-4.7-doc .

But it seems man only works with classes, for example

$ man std::vector
$ man std::istream

works, but

$ man std::find 

doesn't work, any ideas?

Thanks in advance!

MODIFIED:

after installing libstdc++???-doc

we can use file:///usr/share/doc/gcc-4.7-base/libstdc++/html/index.html to access the documents.

like image 992
camino Avatar asked Oct 04 '13 15:10

camino


1 Answers

when you try man [something] u'r just pulling up the man page for that item (based on how the 'man' binary is working). since find isn't working its likely that there is no man find page to bring up. if you really wanna learn more c++ lib features from the algorithms lib visit here: http://en.cppreference.com/w/cpp/algorithm/find

man isn't always the best resource (altho often a great starting point)

Thanks

like image 81
ak_2050 Avatar answered Nov 15 '22 14:11

ak_2050