https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71382
Bug ID: 71382 Summary: Unary plus doesn't works with pointers to instantiations of function templates Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: roman.perepelitsa at gmail dot com Target Milestone: --- This compiles: void F(); void G() { +(&F); } This doesn't: template <class T> void F(); void G() { +(&F<void>); } error: wrong type argument to unary plus Expected behaviour: both examples compile.