Fix uses of non-reserved names for template parameters
authorJonathan Wakely <jwakely@redhat.com>
Fri, 17 May 2019 14:13:40 +0000 (15:13 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 17 May 2019 14:13:40 +0000 (15:13 +0100)
commit593cda3e61f6645d4999b7065b6f49ce631567a3
tree70dbe1c10c15c9413ff7a916151c7066c2db1e90
parente625ccc21a91f3d6976dece2ae736ab4cbe36763
Fix uses of non-reserved names for template parameters

* include/bits/random.h (seed_seq::param): Fix non-reserved name.
* include/experimental/type_traits (is_detected_exact)
(is_detected_exact_v): Likewise.
* include/pstl/execution_defs.h (is_execution_policy)
(is_execution_policy_v, __enable_if_execution_policy): Likewise.
* include/pstl/execution_impl.h (__policy_traits): Likewise.
* testsuite/17_intro/names.cc: Check for more non-reserved names.
* testsuite/experimental/names.cc: New test.

From-SVN: r271324
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.h
libstdc++-v3/include/experimental/type_traits
libstdc++-v3/include/pstl/execution_defs.h
libstdc++-v3/include/pstl/execution_impl.h
libstdc++-v3/testsuite/17_intro/names.cc
libstdc++-v3/testsuite/experimental/names.cc [new file with mode: 0644]