Isn’t c++ heavily used in financial industry and hedge funds

Yes... check out this repo: https://github.com/bloomberg/bde, a very powerful library developed by Bloomberg.

A random example: https://bloomberg.github.io/bde-resources/doxygen/bde_api_pr...