Cannot Overload Placement Operator new in C++ 5.12 and Newer.
(Doc ID 1915928.1)
Last updated on MARCH 31, 2019
Oracle Solaris Studio - Version 12.3 to 12.4 [Release 12] Information in this document applies to any platform.
The Oracle Studio Studio 12.3 C++ compiler in default -compat=5 mode, and Oracle Solaris Studio 12.4 C++ in both default -compat=5 mode and -std=c++11 mode reject the following code:
To improve application runtime performance, <BUG:15709679> SUNBT7037041 DEFAULT PLACEMENT NEW AND DELETE SHOULD BE DEFINED INLINE replaced the placement version of operator new with an faster inline version.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!