Error says that it cant deduce function from argument types but
in reality it fails to meet function template constraints. In
this case !is(CommonType!(staticMap!(ElementType,
staticMap!(Unqual, Ranges))) == void)
In human terms it means that arguments are not the same type. Is
this require b
On Sunday, January 28, 2018 20:02:48 welkam via Digitalmars-d-learn wrote:
> Error says that it cant deduce function from argument types but
> in reality it fails to meet function template constraints. In
> this case !is(CommonType!(staticMap!(ElementType,
> staticMap!(Unqual, Ranges))) == void)
>
On Sunday, 28 January 2018 at 20:42:52 UTC, Jonathan M Davis
wrote:
There is nothing incorrect about the error message. The
compiler looked at all of the functions in the overload set,
and it found none that matched. The reason that it found none
that matched was because it couldn't find any
On Sun, Jan 28, 2018 at 10:53:39PM +, welkam via Digitalmars-d-learn wrote:
> On Sunday, 28 January 2018 at 20:42:52 UTC, Jonathan M Davis wrote:
[...]
> > However, you're not going to get an error message that says anything
> > like "the arguments aren't the same type." The compiler doesn't
>
On Sunday, January 28, 2018 16:08:17 H. S. Teoh via Digitalmars-d-learn
wrote:
> On Sun, Jan 28, 2018 at 10:53:39PM +, welkam via Digitalmars-d-learn
wrote:
> > On Sunday, 28 January 2018 at 20:42:52 UTC, Jonathan M Davis wrote:
> [...]
>
> > > However, you're not going to get an error messag