If this happens:
$ man g++ No manual entry for g++ See 'man 7 undocumented' for help when manual pages are not available.
Fix with:
# apt-get install gcc-doc
If this happens:
$ man g++ No manual entry for g++ See 'man 7 undocumented' for help when manual pages are not available.
Fix with:
# apt-get install gcc-doc