r271608 - in /branches/gcc-9-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri May 24 16:09:00 GMT 2019


Author: redi
Date: Fri May 24 16:09:33 2019
New Revision: 271608

URL: https://gcc.gnu.org/viewcvs?rev=271608&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-9-branch/libstdc++-v3/testsuite/experimental/names.cc
Modified:
    branches/gcc-9-branch/libstdc++-v3/ChangeLog
    branches/gcc-9-branch/libstdc++-v3/include/bits/random.h
    branches/gcc-9-branch/libstdc++-v3/include/experimental/type_traits
    branches/gcc-9-branch/libstdc++-v3/include/pstl/execution_defs.h
    branches/gcc-9-branch/libstdc++-v3/include/pstl/execution_impl.h
    branches/gcc-9-branch/libstdc++-v3/testsuite/17_intro/names.cc



More information about the Libstdc++-cvs mailing list