libstdc++: Fix declarations of variable templates
authorJonathan Wakely <jwakely@redhat.com>
Tue, 19 Nov 2019 09:34:59 +0000 (09:34 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 19 Nov 2019 09:34:59 +0000 (09:34 +0000)
commit5ecaaf98dc6678fab9607822ec083830c536eb68
treefa79e50da45da8b3112b49222c77cef7b9a9176e
parent63b887119024128efaeb122193c935397c2572e9
libstdc++: Fix declarations of variable templates

This code is invalid and rejected by other compilers (see PR 92576).

* include/bits/regex.h (ranges::__detail::__enable_view_impl): Fix
declaration.
* include/bits/stl_multiset.h (ranges::__detail::__enable_view_impl):
Likewise.
* include/bits/stl_set.h (ranges::__detail::__enable_view_impl):
Likewise.
* include/bits/unordered_set.h (ranges::__detail::__enable_view_impl):
Likewise.
* include/debug/multiset.h (ranges::__detail::__enable_view_impl):
Likewise.
* include/debug/set.h (ranges::__detail::__enable_view_impl): Likewise.
* include/debug/unordered_set (ranges::__detail::__enable_view_impl):
Likewise.

From-SVN: r278440
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h
libstdc++-v3/include/bits/stl_multiset.h
libstdc++-v3/include/bits/stl_set.h
libstdc++-v3/include/bits/unordered_set.h
libstdc++-v3/include/debug/multiset.h
libstdc++-v3/include/debug/set.h
libstdc++-v3/include/debug/unordered_set