"Ambiguous Partial Specialization" Error Reported By C++ Compiler When Partial Template Specialization Is Used
(Doc ID 2905974.1)
Last updated on OCTOBER 31, 2022
Applies to:Oracle Solaris Studio - Version 12.6 to 12.6 [Release 12]
Information in this document applies to any platform.
Given the following code
The same code compiles successfully with C++ compiler from Studio 12.3, 12.4 and 12.5, along with 3rd-party C++ compilers like clang, g++ and the obtained binary executes without any issue and prints the expected output.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document