Advertisement
tinyevil

Untitled

Aug 6th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. template<class R>
  2. class promise_resolver{
  3. public:
  4. void resolve(R value){ // this stores R in a shared memory if promise isn't settled yet
  5. ...
  6. }
  7.  
  8. ...
  9. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement