9

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.

villekulla
  • 1,039
  • 5
  • 15
camino
  • 10,085
  • 20
  • 64
  • 115
  • `man std::vector` yields "No manual entry for std::vector" for me. How did you install this? – John Dibling Oct 04 '13 at 15:51
  • @JohnDibling It works for me (I am on archlinux) – khajvah Oct 04 '13 at 15:54
  • @khajvah: I'm on Ubuntu. I'm sure I just need to install some package. – John Dibling Oct 04 '13 at 15:54
  • @JohnDibling I don't remember me installing anything additional but [this](http://packages.ubuntu.com/search?keywords=libstdc%2B%2B+-doc&searchon=names&suite=all&section=all) may be the package – khajvah Oct 04 '13 at 15:57
  • @JohnDibling, before you run man std::vector, please execute sudo apt-get install libstdc++????-doc first. – camino Oct 04 '13 at 15:59
  • 1
    Got the man pages. Running `man -k . | grep std` results in nothing that looks like any components from ``. I suspect they aren't there at all. – John Dibling Oct 04 '13 at 16:13
  • The actual docs are all in html format; the classes (like `std::vector`) have man pages automatically generated by Doxygen, but Doxygen only cares about html output anyways. – DanielKO Oct 04 '13 at 19:27

2 Answers2

2

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

ak_2050
  • 159
  • 4
0

On ubuntu no package contains the std::find manpage.

If those algorithm manpages are important for you, file a bug report to ubuntu or be a volunteer...

villekulla
  • 1,039
  • 5
  • 15