re PR libstdc++/78441 ([variant] variant_alternative doesn't allow cv qualifiers)
authorTim Shen <timshen@google.com>
Sun, 27 Nov 2016 00:32:04 +0000 (00:32 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Sun, 27 Nov 2016 00:32:04 +0000 (00:32 +0000)
commit3203ed5f0182e7dbf1c74e6598e718641a3d4013
tree0db3aa4bf197b8f1448c76a2cd58777ba299b74b
parent216c1ee8384255ff0a345608d0f97e74b2da312c
re PR libstdc++/78441 ([variant] variant_alternative doesn't allow cv qualifiers)

PR libstdc++/78441
* include/std/variant: Propagate cv qualifications to types returned
by variant_alternative.
* testsuite/20_util/variant/compile.cc: Tests.

From-SVN: r242892
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/variant
libstdc++-v3/testsuite/20_util/variant/compile.cc