Changeset de00da5 in mainline for uspace/lib/cpp/include/internal/memory/shared_payload.hpp
- Timestamp:
- 2018-07-05T21:41:23Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6a3a64f
- Parents:
- 09e02ee
- git-author:
- Dzejrou <dzejrou@…> (2018-05-09 23:42:29)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/internal/memory/shared_payload.hpp
r09e02ee rde00da5 49 49 using refcount_t = long; 50 50 51 /** 52 * This allows us to construct shared_ptr from 53 * a payload pointer in make_shared etc. 54 */ 55 struct payload_tag_t 56 { /* DUMMY BODY */ }; 57 58 inline constexpr payload_tag_t payload_tag{}; 59 51 60 template<class D, class T> 52 61 void use_payload_deleter(D* deleter, T* data)
Note:
See TracChangeset
for help on using the changeset viewer.