I am using AppCode to develop in C++ on MacOS but encountered an issue that I cannot overcome no matter how hard I try. I am missing C++ documentation on MacOS. When I query a man pages for stdc function then everything is just all right, even AppCode provides perfect inline documentation. But I don’t know how to install documentation and manpages for C++ and its standard libraries. On linux it’s easy and yum/apt-get/up2date stdlibc++-doc works just fine.
How am I supposed to get it working on Mac OS?
My best recommendation is to go get Dash from the Mac App Store. It’s a free app (with an IAP upgrade that removes some annoyances; the app is definitely worth paying for) that provides access to documentation sets for many languages, including C++. Its C++ documentation is based on cppreference.com. In any case, using Dash it’s really easy to get the documentation on whatever C++ construct you need. Here’s a screenshot of the documentation on
std::vector: