Cannot Overload Placement Operator new in C++ 5.12 and Newer.
Last updated on MARCH 08, 2017
Applies to: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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms