variant (std::get, operator==): Implement constexpr comparison and get<>.
authorTim Shen <timshen@google.com>
Tue, 6 Dec 2016 11:20:13 +0000 (11:20 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Tue, 6 Dec 2016 11:20:13 +0000 (11:20 +0000)
commit9189f55908d6655e63fff8d9b9f87ec83d4891e1
treebf3ff26cc7a4108bc3b3fed889dd652fe693a3ff
parent44f46885959d501929eeca3d3618db6db6d50c77
variant (std::get, operator==): Implement constexpr comparison and get<>.

* include/std/variant (std::get, operator==): Implement constexpr
comparison and get<>.
* testsuite/20_util/variant/compile.cc: Tests.

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