aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.29k stars 81 forks source link

Bugfixes/string #110

Closed SGSSGene closed 4 years ago

SGSSGene commented 4 years ago

This pull request fixes several issues when viewing std::string

  1. It is possible to call cppman string::string
  2. The link to basic_string::npos works now
  3. formatting of erase/erase_if inside of std::string is fixed
  4. correcting formatting of stoi, stol, stoll inside of std::string
  5. correct hightlighting of std::swap inside of std::string
  6. updated data base for cppreference.com

Known issues - related to this PR:

probably unrelated issues:

SGSSGene commented 4 years ago

I am still a little unhappy with this pull request.

  1. As in the description, it doesn't allow to open std::vector<bool>
  2. I can't open the page for std::fstream

I can live with std::vector<bool> not working, but std::fstream is really anoying, I will look into it the next few days.

SGSSGene commented 4 years ago
  1. Now most lines in cppman/main.py should be fixed
  2. cplusplus.com is fixed and can be crawled again
  3. lookups for fstream work now
aitjcize commented 4 years ago

LGTM, sorry for the long delay, and thanks for fixing this :)

aitjcize commented 4 years ago

Can you also update the index database? We should release a new version soon.