Changeset 04c0fc5 in mainline for uspace/lib/cpp/src/future.cpp


Ignore:
Timestamp:
2019-06-27T15:55:09Z (6 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9eea0b7
Parents:
8add15e0
Message:

cpp: add basic implementations of the promise and future templates that support simple value retrieval in single threaded context in the least

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/src/future.cpp

    r8add15e0 r04c0fc5  
    8181        return code_;
    8282    }
     83
     84    const char* future_error::what() const noexcept
     85    {
     86        return code().message().c_str();
     87    }
    8388}
Note: See TracChangeset for help on using the changeset viewer.