Changeset d276424f in mainline
- Timestamp:
- 2019-07-02T13:08:59Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d3ba97d
- Parents:
- 5d71d09
- Location:
- uspace/lib/cpp/include/__bits/thread
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/thread/packaged_task.hpp
r5d71d09 rd276424f 77 77 : func_{forward<F>(f)}, state_{} 78 78 { 79 auto rebound = allocator_traits<Allocator>::rebind<80 aux::shared_state<R>81 > {a};79 typename allocator_traits< 80 Allocator 81 >::template rebind_alloc<aux::shared_state<R>> rebound{a}; 82 82 83 83 state_ = rebound.allocate(1); -
uspace/lib/cpp/include/__bits/thread/promise.hpp
r5d71d09 rd276424f 57 57 : state_{} 58 58 { 59 auto rebound = allocator_traits<Allocator>::rebind<60 aux::shared_state<R>61 > {a};59 typename allocator_traits< 60 Allocator 61 >::template rebind_alloc<aux::shared_state<R>> rebound{a}; 62 62 63 63 state_ = rebound.allocate(1);
Note:
See TracChangeset
for help on using the changeset viewer.