Re: Template matches more than one template declaration error when trying to pass function's pointer

2018-11-30 Thread H. S. Teoh via Digitalmars-d-learn
On Sat, Dec 01, 2018 at 01:17:55AM +, solidstate1991 via Digitalmars-d-learn wrote: > After some refactoring, there are four functions sharing the same name > (technically four, but LDC didn't complain about them): > > @nogc void blitter(T)(T* src, T* dest, size_t length){...} > > and > >

Template matches more than one template declaration error when trying to pass function's pointer

2018-11-30 Thread solidstate1991 via Digitalmars-d-learn
After some refactoring, there are four functions sharing the same name (technically four, but LDC didn't complain about them): @nogc void blitter(T)(T* src, T* dest, size_t length){...} and @nogc void blitter(T)(T* src, T* dest, size_t length, T* mask){...} I need the first one, but at