[Bug c++/33754] Default argument of type list < pair < A, B > > compiles only when typedef is used
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Oct 14 16:26:00 GMT 2007
------- Comment #4 from nathan at gcc dot gnu dot org 2007-10-14 16:26 -------
DR 325 describes the ambiguities in the standard. There are a number of
possible solutions to accepting this syntax, with different implementation
complexities, and it is not clear what the desired outcome is.
As there is a simple workaround -- adding parentheses -- which is unambiguously
correct, I do not see a need to speculatively implement a language extension
here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33754
More information about the Gcc-bugs
mailing list