GorNishanov / coroutines-ts

20 stars 2 forks source link

LEWG: Cleanup nullptr assignment/ctor for coroutine-handle #21

Open GorNishanov opened 6 years ago

CaseyCarter commented 6 years ago

The assignment operator is completely extraneous since nullptr_t is implicitly convertible to coroutine_handle.

The converting constructor only makes sense if coroutine_handle is trying to model pointer concepts; I think that is obviously not the case.