Implement P0195R2, C++17 variadic using.
authorJason Merrill <jason@redhat.com>
Mon, 9 Jan 2017 21:51:08 +0000 (16:51 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 9 Jan 2017 21:51:08 +0000 (16:51 -0500)
commitf4da28a0ab155d5bff5fe400efb2b5459e5429c8
treea6a25a2bcfc6d78bd787d7257b26a8242a21c0c6
parentbd2c62704bb7e012a3e780dec1288678f51bcd6c
Implement P0195R2, C++17 variadic using.

* parser.c (cp_parser_using_declaration): Handle ellipsis and comma.
* pt.c (tsubst_decl): Handle pack expansion in USING_DECL_SCOPE.
* error.c (dump_decl): Likewise.

From-SVN: r244246
gcc/cp/ChangeLog
gcc/cp/cp-tree.def
gcc/cp/error.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/using2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/using3.C [new file with mode: 0644]