This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Author: redi
Date: Wed Mar  6 11:32:42 2019
New Revision: 269418

URL: https://gcc.gnu.org/viewcvs?rev=269418&root=gcc&view=rev
Log:
Constexpr in std::pointer_traits (P1006R1)

	* include/bits/ptr_traits.h [C++20] (pointer_traits<T*>::pointer_to):
	Add constexpr.
	* testsuite/20_util/pointer_traits/pointer_to_constexpr.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/20_util/pointer_traits/pointer_to_constexpr.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/ptr_traits.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]