re PR libstdc++/51365 (cannot use final empty class in std::tuple)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Tue, 20 Dec 2011 09:09:50 +0000 (09:09 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 20 Dec 2011 09:09:50 +0000 (09:09 +0000)
commitd8ab827382b314eca193be787b96b2a8c8e3b454
treecf2589681d56c8b7868a84c08fd43bf2736cf334
parent1bb4b6a35a7cd3a5e76dca3fe5c0fe4d07725080
re PR libstdc++/51365 (cannot use final empty class in std::tuple)

PR libstdc++/51365
* include/std/tuple (_Tuple_impl): Check __is_final as well as
is_empty.
* testsuite/20_util/tuple/51365.cc: New.

From-SVN: r182523
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/51365.cc [new file with mode: 0644]