Integrated from trunc: Applied patch for #5745: Use native typeof support for Oracle Solaris Studio C++ compiler