On 9/29/14, 11:44 AM, Shammah Chancellor wrote:I don't like the idea of having to pass in template parameters everywhere -- even for allocators.I agree.
There was a solution earlier in this thread which avoids that problem. When a function is annotated with @nogc there's sufficient info to chose the correct implementation without any parameters, it's already known whether we are instantiated from a @nogc block or not.