opApply with Type Inference and Templates?
Jerry via Digitalmars-d-learn Wed, 15 Feb 2017 19:26:31 -0800
I am trying to do opApply to work when the delegate passed when
it is and isn't nogc/nothrow. As soon as you involve a template
though, type inference goes out the door. I want to be able to
use opApply with templates (to get the auto @nogc/nothrow
deducation passed on the delegate passed) but still be able to
use type inference. Is there any way to do this?
- opApply with Type Inference and Templ... Jerry via Digitalmars-d-learn
- Re: opApply with Type Inference ... Basile B. via Digitalmars-d-learn
- Re: opApply with Type Infere... Jerry via Digitalmars-d-learn
- Re: opApply with Type Inference ... Ali Çehreli via Digitalmars-d-learn
