executors / futures

A proposal for a futures programming model for ISO C++
22 stars 7 forks source link

Use a friend function to specify promise_contract_t default behavior. #72

Closed chriskohlhoff closed 6 years ago

chriskohlhoff commented 6 years ago

This change aims to formalise the "default" implementation for a promise_contract_t query. Using a friend function within the property itself is the approach adopted in the executors paper itself.

chriskohlhoff commented 6 years ago

Rebased against master to resolve conflicts.

brycelelbach commented 6 years ago

Thanks @chriskohlhoff