[Bug c++/67605] Compilation errors creating std::pair using templated arguments

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 16 21:00:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67605

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Spelling it "typename List<K>::template Node<K>*" helps. Note that clang
rejects the code as well.



More information about the Gcc-bugs mailing list