Changeset 28cb7843 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:24Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ddd287d
Parents:
d5047002
git-author:
Dzejrou <dzejrou@…> (2018-05-17 19:08:13)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
Message:

cpp: added naive make_(un)signed specialization for char

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/impl/type_traits.hpp

    rd5047002 r28cb7843  
    945945
    946946    template<>
     947    struct make_signed<char>: aux::type_is<signed char>
     948    { /* DUMMY BODY */ };
     949
     950    template<>
    947951    struct make_signed<unsigned char>: aux::type_is<signed char>
    948952    { /* DUMMY BODY */ };
     
    966970    template<class T>
    967971    struct make_unsigned: aux::type_is<T>
     972    { /* DUMMY BODY */ };
     973
     974    template<>
     975    struct make_unsigned<char>: aux::type_is<unsigned char>
    968976    { /* DUMMY BODY */ };
    969977
Note: See TracChangeset for help on using the changeset viewer.