r275171 - in /branches/gcc-8-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Aug 30 13:49:00 GMT 2019


Author: redi
Date: Fri Aug 30 13:49:48 2019
New Revision: 275171

URL: https://gcc.gnu.org/viewcvs?rev=275171&root=gcc&view=rev
Log:
Fix uses of non-reserved names for template parameters

Backport from mainline
2019-05-17  Jonathan Wakely  <jwakely@redhat.com>

	* 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.

Added:
    branches/gcc-8-branch/libstdc++-v3/testsuite/experimental/names.cc
Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/include/bits/random.h
    branches/gcc-8-branch/libstdc++-v3/include/experimental/type_traits
    branches/gcc-8-branch/libstdc++-v3/testsuite/17_intro/names.cc



More information about the Gcc-cvs mailing list