This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/79513] std::visit doesn't handle references


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79513

--- Comment #1 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Wed Feb 15 07:38:20 2017
New Revision: 245474

URL: https://gcc.gnu.org/viewcvs?rev=245474&root=gcc&view=rev
Log:
        PR libstdc++/79513
        * include/std/variant (visit()): Forward variant types to the return
        type detection code.
        * testsuite/20_util/variant/compile.cc: Add test cases.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/variant
    trunk/libstdc++-v3/testsuite/20_util/variant/compile.cc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]