My Oracle Support Banner

"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.

Symptoms

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.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.