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++/78441] [variant] variant_alternative doesn't allow cv qualifiers


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

--- Comment #1 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Sun Nov 27 00:32:04 2016
New Revision: 242892

URL: https://gcc.gnu.org/viewcvs?rev=242892&root=gcc&view=rev
Log:
        PR libstdc++/78441
        * include/std/variant: Propagate cv qualifications to types returned
        by variant_alternative.
        * testsuite/20_util/variant/compile.cc: Tests.

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]