2 ms·
I'm on mobile so maybe I mixed the concept and the trait but there should be an invocable_r version that constrains the return type in addition to invocable whi
by injidup 3y ago
I'm on mobile so maybe I mixed the concept and the trait but there should be an invocable_r version that constrains the return type in addition to invocable which just constrains the arguments.
And yes the inline version rather than requires is much nicer.
- gpderetta 3y agoOh, I see. Yes, out of the box there is a trait, but not a concept.