[Issue 1858] std.string find signature is not string
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 21 08:09:30 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1858
------- Comment #2 from ddparnell at bigpond.com 2008-02-21 10:09 -------
Here is the type of code that was giving me trouble.
import std.string;
int function(string a, string b) Finder;
void main()
{
Finder = &std.string.find;
}
I am assuming the compiler is smart enough to work out which 'find' function
I'm after by using the signature provided by the 'Finder' declaration.
--
More information about the Digitalmars-d-bugs
mailing list