gcc/libstdc++-v3/include
Jonathan Wakely 8b6fb0e81f Constrain std::variant constructor for class template argument deduction
Backport from mainline
2017-07-14  Jason Merrill  <jason@redhat.com>
    Jonathan Wakely  <jwakely@redhat.com>

	* include/std/variant (variant::variant(_Tp&&)): Constrain to remove
	the constructor for empty variants from the candidate functions
	during class template argument deduction.
	* testsuite/20_util/variant/deduction.cc: New.

From-SVN: r250534
2017-07-25 19:04:38 +01:00
..
backward Update copyright years. 2017-01-01 13:07:43 +01:00
bits PR libstdc++/81221 fix namespace qualification for parallel mode 2017-06-27 17:23:46 +01:00
c Update copyright years. 2017-01-01 13:07:43 +01:00
c_compatibility Update copyright years. 2017-01-01 13:07:43 +01:00
c_global Define std::byte for C++17 (P0298R3) 2017-03-09 15:42:02 +00:00
c_std Update copyright years. 2017-01-01 13:07:43 +01:00
debug Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental PR libstdc++/80448 remove noexcept from defaulted functions 2017-04-19 12:03:43 +01:00
ext PR libstdc++/62045 fix O(N) insertion in pd_ds binary heap 2017-03-15 20:11:48 +00:00
parallel Update copyright years. 2017-01-01 13:07:43 +01:00
precompiled Update copyright years. 2017-01-01 13:07:43 +01:00
profile Remove unused include from Profile Mode header 2017-01-13 17:20:23 +00:00
std Constrain std::variant constructor for class template argument deduction 2017-07-25 19:04:38 +01:00
tr1 PR libstdc++/70607 revert recent changes to <tr1/complex> 2017-01-26 19:40:02 +00:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.am PR78905 define _GLIBCXX_RELEASE macro 2017-01-19 16:40:46 +00:00
Makefile.in PR78905 define _GLIBCXX_RELEASE macro 2017-01-19 16:40:46 +00:00