In the compilation modes –compat=g, –std=c++03, –std=c++11, and –std=c++14, the C++ compiler supports only the g++ 5.4 headers and standard library that are delivered with the compiler.
See the Distribution README file for a list of libraries and object files that you can redistribute with your executables or libraries under the terms of the End User Object Code License. The C++ section of this README file lists the version of the g++ runtime libraries this release of the compiler supports. This README file can be found on the legal page for this release of Oracle Developer Studio software, at http://www.oracle.com/technetwork/server-storage/solarisstudio/overview/index.html.