]> git.ipfire.org Git - thirdparty/gcc.git/commit
type_traits (__make_unsigned_selector<>): Consider enums of size smaller than short.
authorMark Mitchell <mark@codesourcery.com>
Mon, 1 Sep 2008 23:24:09 +0000 (23:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 1 Sep 2008 23:24:09 +0000 (23:24 +0000)
commita0230468417e750d1ae805ac38001aa88099d7fd
treed88bccb56445aaca3ce7c9b6d4bf65c1efba8031
parent26272ba2c429064f8b39f38771d879fc913114cc
type_traits (__make_unsigned_selector<>): Consider enums of size smaller than short.

* include/std/type_traits (__make_unsigned_selector<>): Consider
enums of size smaller than short.
(__make_signed_selector<>): Likewise.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Adjust line numbers.
* testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
Adjust line numbers.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc:
Ensure test_enum is the same size as short.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
Ensure test_enum is the same size as short.

From-SVN: r139875
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/type_traits
libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc