Implement LWG 2825, LWG 2756 breaks class template argument deduction for optional.
authorVille Voutilainen <ville.voutilainen@gmail.com>
Mon, 30 Jan 2017 13:37:16 +0000 (15:37 +0200)
committerVille Voutilainen <ville@gcc.gnu.org>
Mon, 30 Jan 2017 13:37:16 +0000 (15:37 +0200)
commit1dd9523917189b741af87cc3fbb853c30d7773f5
tree21874fc2620742e9be1b15a4ee26554a93537df4
parent87c45ec798cfdbc784806fed96e5f20a105793e5
Implement LWG 2825, LWG 2756 breaks class template argument deduction for optional.

* include/std/optional: Add a deduction guide.
* testsuite/20_util/optional/cons/deduction_guide.cc: New.

From-SVN: r245024
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/optional
libstdc++-v3/testsuite/20_util/optional/cons/deduction_guide.cc [new file with mode: 0644]