Changeset 7fb91de in mainline


Ignore:
Timestamp:
2018-07-05T21:41:18Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7db6f50
Parents:
e1a3ab7
git-author:
Jaroslav Jindrak <dzejrou@…> (2017-11-04 12:53:01)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:18)
Message:

cpp: fixed fmtflags as per iso standard requirements

File:
1 edited

Legend:

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

    re1a3ab7 r7fb91de  
    8080            static constexpr fmtflags unitbuf     = 0b00'0010'0000'0000'0000;
    8181            static constexpr fmtflags uppercase   = 0b00'0100'0000'0000'0000;
    82             static constexpr fmtflags adjustfield = 0b00'1000'0000'0000'0000;
    83             static constexpr fmtflags basefield   = 0b01'0000'0000'0000'0000;
    84             static constexpr fmtflags floatfield  = 0b10'0000'0000'0000'0000;
     82            static constexpr fmtflags adjustfield = left | right | internal;
     83            static constexpr fmtflags basefield   = dec  | oct   | hex;
     84            static constexpr fmtflags floatfield  = scientific   | fixed;
    8585
    8686            /**
Note: See TracChangeset for help on using the changeset viewer.