Implement std::visit<R> for C++2a (P0655R1)
authorJonathan Wakely <jwakely@redhat.com>
Fri, 5 Apr 2019 18:06:02 +0000 (19:06 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 5 Apr 2019 18:06:02 +0000 (19:06 +0100)
commit199b20e3cbf77757bb2e03649c98fc73b19c611e
tree2e3921a368758535b84d73d091beb5fe2885cb69
parentdd4a309e05dc2ccde33e8e639aa063dc0c3b176f
Implement std::visit<R> for C++2a (P0655R1)

* doc/xml/manual/status_cxx2020.xml: Update status.
* include/std/variant (visit<R>): Define for C++2a (P0655R1).
* testsuite/20_util/variant/visit_r.cc: New test.

From-SVN: r270176
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/status_cxx2020.xml
libstdc++-v3/include/std/variant
libstdc++-v3/testsuite/20_util/variant/visit_r.cc [new file with mode: 0644]