function literals cannot be class members
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Jul 16 14:01:25 PDT 2011
On 7/16/11 10:50 AM, d coder wrote:
> Sorry for bumping. Want to know if there is a solution to the situation
> I face often.
I think this is a reasonable thing to want, but it's difficult to
implement technically. You want a comparitor with state (which is fine),
but at the same time the state must be cleverly wired during
construction of the enclosing class object.
I'll think of a reasonable workaround or library fix, if I come with
anything I'll post here.
Andrei
More information about the Digitalmars-d
mailing list