Ignore:
Timestamp:
2018-07-05T21:41:20Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c4049e6
Parents:
7d0f2eb
git-author:
Dzejrou <dzejrou@…> (2018-03-15 10:37:55)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
Message:

cpp: added std::terminate

File:
1 edited

Legend:

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

    r7d0f2eb r9396c52  
    3232namespace std
    3333{
     34    [[noreturn]] void terminate() noexcept;
    3435
    35 class exception
    36 {
    37         public:
    38                 exception() = default;
    39                 exception(const exception&) = default;
    40                 exception& operator=(const exception&) noexcept;
    41                 virtual const char* what() const;
    42                 virtual ~exception() = default;
    43 };
    44 
     36    class exception
     37    {
     38        public:
     39            exception() = default;
     40            exception(const exception&) = default;
     41            exception& operator=(const exception&) noexcept;
     42            virtual const char* what() const;
     43            virtual ~exception() = default;
     44    };
    4545}
    4646
Note: See TracChangeset for help on using the changeset viewer.