re PR c++/80737 (variant<any> as class member resulting to compile errors)
authorTim Shen <timshen@google.com>
Sun, 28 May 2017 21:27:30 +0000 (21:27 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Sun, 28 May 2017 21:27:30 +0000 (21:27 +0000)
commita8127c0cca7dc6ee9c3eafa2058bac4406247a5d
treeda62554cee3e4bf3e6a5e1e4fa339db533258903
parent9698e1bb336c3d623231d7bb017681c2b82523dc
re PR c++/80737 (variant<any> as class member resulting to compile errors)

  PR libstdc++/80737
  * include/std/variant(variant::variant): SFINAE on is_same first.
  * testsuite/20_util/variant/any.cc: test case.

From-SVN: r248548
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/variant
libstdc++-v3/testsuite/20_util/variant/any.cc [new file with mode: 0644]