Changeset b1cd380c in mainline for uspace/lib/cpp/include/typeinfo


Ignore:
Timestamp:
2018-07-05T21:41:17Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac47ba95
Parents:
75848a8
git-author:
Jaroslav Jindrak <dzejrou@…> (2017-10-13 17:17:24)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:17)
Message:

cpp: moved the implementation of the system headers to .hpp files in the impl directory, this way we get to use C++ aware tools such as syntax higlighting and error checking during development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/typeinfo

    r75848a8 rb1cd380c  
    2727 */
    2828
    29 #include <cstdlib>
    30 
    31 namespace std
    32 {
    33 
    34 class type_info
    35 {
    36         public:
    37         virtual ~type_info();
    38 
    39         bool operator==(const type_info&) const noexcept;
    40         bool operator!=(const type_info&) const noexcept;
    41 
    42         bool before(const type_info&) const noexcept;
    43 
    44         size_t hash_code() const noexcept;
    45 
    46         const char* name() const noexcept;
    47 
    48         type_info(const type_info&) = delete;
    49         type_info& operator=(const type_info&) = delete;
    50 
    51     private:
    52         const char* __name;
    53 };
    54 
    55     // TODO: class bad_cast, bad_typeid
    56 }
     29#include <impl/typeinfo.hpp>
Note: See TracChangeset for help on using the changeset viewer.