How can I store delegates in array?
H. S. Teoh
hsteoh at quickfur.ath.cx
Fri Nov 30 07:50:37 PST 2012
On Fri, Nov 30, 2012 at 04:41:40PM +0100, Chopin wrote:
> Hi!
>
> I've never used delegates before etc. not really familiar with it.
[...]
You could try something like this:
alias bool delegate(string, string) DgType;
DgType[] arrayOfDelegates;
T
--
Why waste time learning, when ignorance is instantaneous? -- Hobbes, from Calvin & Hobbes
More information about the Digitalmars-d-learn
mailing list