gcc/libstdc++-v3
Jonathan Wakely d0dda80415 PR libstdc++/81468 constrain std::chrono::time_point constructor
PR libstdc++/81468
	* include/std/chrono (__enable_if_is_duration)
	(__disable_if_is_duration): New alias templates to simplify SFINAE.
	(duration_cast, floor, ceil): Use __enable_if_is_duration.
	(duration::__is_float, duration::__is_harmonic): New alias templates
	to simplify SFINAE.
	(duration::duration(const _Rep2&)): Use _Require, __is_float and
	__is_harmonic.
	(duration::duration(const duration<_Rep2, _Period2>&)): Likewise.
	(__common_rep_type): Remove, replace with ...
	(__common_rep_t): New alias template.
	(operator*, operator/, operator%): Use __common_rep_t and
	__disable_if_is_duration.
	(time_point::time_point(const time_point<clock, _Dur2>&)): Add missing
	constraint from LWG DR 1177.
	* testsuite/20_util/duration/cons/dr1177.cc: New.
	* testsuite/20_util/duration/literals/range.cc: Update dg-error line.
	* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
	* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
	* testsuite/20_util/time_point/cons/81468.cc: New.

From-SVN: r252085
2017-09-13 15:07:44 +01:00
..
config PR libstdc++/81751 don't call fflush(NULL) 2017-08-09 18:52:10 +01:00
doc Fix broken URLs in libstdc++ API docs 2017-09-13 11:17:44 +01:00
include PR libstdc++/81468 constrain std::chrono::time_point constructor 2017-09-13 15:07:44 +01:00
libsupc++ PR libstdc++/81835 fix broken URLs in libstdc++ docs 2017-09-13 11:05:59 +01:00
po re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
python re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
scripts Update copyright years. 2017-01-01 13:07:43 +01:00
src re PR c/81854 (weak alias of an incompatible symbol accepted) 2017-08-20 15:31:39 -06:00
testsuite PR libstdc++/81468 constrain std::chrono::time_point constructor 2017-09-13 15:07:44 +01:00
acinclude.m4 PR libstdc++/81092 add std::wstring symbols and bump library version 2017-06-16 12:54:59 +01:00
aclocal.m4 Build libgo with -Wa,-nH if possible (PR go/78978) [non-libgo parts] 2017-01-06 14:33:47 +00:00
ChangeLog PR libstdc++/81468 constrain std::chrono::time_point constructor 2017-09-13 15:07:44 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015 Update copyright years. 2016-01-04 15:30:50 +01:00
ChangeLog-2016 Update copyright years. 2017-01-01 13:07:43 +01:00
config.h.in PR libstdc++/67578 Implement non-trivial std::random_device::entropy 2017-05-23 17:11:57 +01:00
configure PR libstdc++/81092 Regenerate configure for libtool_VERSION change 2017-06-21 09:55:26 +01:00
configure.ac PR libstdc++/67578 Implement non-trivial std::random_device::entropy 2017-05-23 17:11:57 +01:00
configure.host Separate Solaris/SPARC and x86 baselines 2017-02-02 16:24:03 +00:00
crossconfig.m4 Fix cross compilation to Solaris 2017-06-01 13:50:03 +00:00
fragment.am re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
linkage.m4
Makefile.am Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.in re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.