r277698 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Thu Oct 31 23:03:00 GMT 2019


Author: redi
Date: Thu Oct 31 23:03:22 2019
New Revision: 277698

URL: https://gcc.gnu.org/viewcvs?rev=277698&root=gcc&view=rev
Log:
Add remaining changes from P1065R2 "constexpr INVOKE"

	* include/bits/refwrap.h (reference_wrapper, ref, cref): Add constexpr
	specifiers for C++20.
	* include/std/functional (_Mem_fn, mem_fn, _Bind, _Bind_result, bind)
	(bind_front, _Not_fn, not_fn): Likewise.
	* testsuite/20_util/bind/constexpr.cc: New test.
	* testsuite/20_util/function_objects/bind_front/constexpr.cc: New test.
	* testsuite/20_util/function_objects/mem_fn/constexpr.cc: New test.
	* testsuite/20_util/function_objects/not_fn/constexpr.cc: New test.
	* testsuite/20_util/reference_wrapper/constexpr.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/20_util/bind/constexpr.cc
    trunk/libstdc++-v3/testsuite/20_util/function_objects/bind_front/constexpr.cc
    trunk/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/constexpr.cc
    trunk/libstdc++-v3/testsuite/20_util/function_objects/not_fn/constexpr.cc
    trunk/libstdc++-v3/testsuite/20_util/reference_wrapper/constexpr.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/refwrap.h
    trunk/libstdc++-v3/include/std/functional



More information about the Libstdc++-cvs mailing list