std.utf.decode(dlang, 1)

2014-09-18 Thread Algo via Digitalmars-d-learn
void main() { import std.utf; decode(dlang, 1); } Error: template std.utf.decode cannot deduce function from argument types !()(string, int), candidates are: D:\msc\D\dmd2\windows\bin\..\..\src\phobos\std\utf.d(924): std.utf.decode(S)(auto ref S str, ref size_t index) if

Re: std.utf.decode(dlang, 1)

2014-09-18 Thread Algo via Digitalmars-d-learn
On Thursday, 18 September 2014 at 06:09:54 UTC, Algo wrote: void main() { import std.utf; decode(dlang, 1); } Error: template std.utf.decode cannot deduce function from argument types !()(string, int), candidates are: D:\msc\D\dmd2\windows\bin\..\..\src\phobos\std\utf.d(924):

Re: std.utf.decode(dlang, 1)

2014-09-18 Thread Ali Çehreli via Digitalmars-d-learn
On 09/17/2014 11:23 PM, Algo wrote: On Thursday, 18 September 2014 at 06:09:54 UTC, Algo wrote: void main() { import std.utf; decode(dlang, 1); } Error: template std.utf.decode cannot deduce function from argument types !()(string, int), candidates are:

Re: std.utf.decode(dlang, 1)

2014-09-18 Thread AsmMan via Digitalmars-d-learn
On Thursday, 18 September 2014 at 06:09:54 UTC, Algo wrote: void main() { import std.utf; decode(dlang, 1); } Error: template std.utf.decode cannot deduce function from argument types !()(string, int), candidates are: D:\msc\D\dmd2\windows\bin\..\..\src\phobos\std\utf.d(924):