Problems with pointer-to-members
David Sveningsson
ext@sidvind.com
Thu May 29 15:11:00 GMT 2008
Guilherme Müller skrev:
> //Here comes the annoying error
>
> void foo2::DoSomething()
> {
> ReadCallback callback = WhenComplete;
> DoAnything(callback);
> }
>
I believe you must write &Foo2::WhenComplete.
--
//*David Sveningsson [eXt]*
Freelance coder | Game Development Student
http://sidvind.com
Thou shalt make thy program's purpose and structure clear to thy fellow
man by using the One True Brace Style, even if thou likest it not, for
thy creativity is better used in solving problems than in creating
beautiful new impediments to understanding.
More information about the Gcc-help
mailing list