Equivalent of C++ std::function
Yuushi via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 24 23:23:12 PDT 2014
On Wednesday, 25 June 2014 at 05:13:00 UTC, Olivier Pisano wrote:
> On Wednesday, 25 June 2014 at 03:33:15 UTC, Yuushi wrote:
>>
>> Thanks a ton - I guess I need to do a fair bit more reading
>> about alias.
>
> In this case, alias acts as typedef in C++. What is important
> here is the function pointers/delegates syntax.
Yeah, I realised that when I went back and looked at what I'd
tried:
function string(string) transform;
which should have been:
string function(string) transform;
which does work.
Thanks for the clarification.
More information about the Digitalmars-d-learn
mailing list