aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2017-07-14 15:13:49 -0400
committerJonathan Wakely <redi@gcc.gnu.org>2017-07-14 20:13:49 +0100
commit20316b9b2ee5fd60e40a84e64e8715b55092beb6 (patch)
tree98d5298be92e1ed9201dbc5347653e1c5836120b /gcc
parent3b80566699a6474e82a630652bf85cf872128b6d (diff)
downloadgcc-20316b9b2ee5fd60e40a84e64e8715b55092beb6.zip
gcc-20316b9b2ee5fd60e40a84e64e8715b55092beb6.tar.gz
gcc-20316b9b2ee5fd60e40a84e64e8715b55092beb6.tar.bz2
Constrain std::variant constructor for class template argument deduction
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. Co-Authored-By: Jonathan Wakely <jwakely@redhat.com> From-SVN: r250213
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions