Changeset 9396c52 in mainline
- Timestamp:
- 2018-07-05T21:41:20Z (7 years ago)
- 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)
- Location:
- uspace/lib/cpp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/exception.hpp
r7d0f2eb r9396c52 32 32 namespace std 33 33 { 34 [[noreturn]] void terminate() noexcept; 34 35 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 }; 45 45 } 46 46 -
uspace/lib/cpp/src/exception.cpp
r7d0f2eb r9396c52 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 29 #include <cstdlib> 28 30 #include <exception> 29 31 30 32 namespace std 31 33 { 34 [[noreturn]] void terminate() noexcept 35 { 36 abort(); 37 } 38 32 39 const char* exception::what() const 33 40 {
Note:
See TracChangeset
for help on using the changeset viewer.