[Bug c++/68666] [concepts] "is not a function template" using class-scoped variable template in constraint expression
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 18 21:05:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68666
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 18 21:05:12 2017
New Revision: 244599
URL: https://gcc.gnu.org/viewcvs?rev=244599&root=gcc&view=rev
Log:
PR c++/68666 - member variable template-id
* typeck.c (finish_class_member_access_expr): Handle variable
template-id.
* pt.c (lookup_and_finish_template_variable): No longer static.
* cp-tree.h: Declare it.
Added:
trunk/gcc/testsuite/g++.dg/concepts/var-templ3.C
trunk/gcc/testsuite/g++.dg/cpp1y/var-templ55.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/pt.c
trunk/gcc/cp/typeck.c
More information about the Gcc-bugs
mailing list