www.digitalmars.com         C & C++   DMDScript  

c++ - __closure

reply "Charles Sanders" <sanders-consulting comcast.net> writes:
Borland' supports a __closure option, I know D does this beautifully, does
DMC support this, or plans to ?

 void ( __closure::* classMethod) () = myClass.*pMember;
classMethod();

?

C
Nov 20 2003
parent reply "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
That might be cool.

I think it should also support __declspec(property), and __int8 as a
distinct data type.

But what can you do?

:)


"Charles Sanders" <sanders-consulting comcast.net> wrote in message
news:bpjtsu$4ba$1 digitaldaemon.com...
 Borland' supports a __closure option, I know D does this beautifully, does
 DMC support this, or plans to ?

  void ( __closure::* classMethod) () = myClass.*pMember;
 classMethod();

 ?

 C
Nov 21 2003
parent "Charles Sanders" <sanders-consulting comcast.net> writes:
hehe, we can keep buggin him, that __declspec(property) looks cool.

C

"Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
news:bpkrv3$1gcc$1 digitaldaemon.com...
 That might be cool.

 I think it should also support __declspec(property), and __int8 as a
 distinct data type.

 But what can you do?

 :)


 "Charles Sanders" <sanders-consulting comcast.net> wrote in message
 news:bpjtsu$4ba$1 digitaldaemon.com...
 Borland' supports a __closure option, I know D does this beautifully,
does
 DMC support this, or plans to ?

  void ( __closure::* classMethod) () = myClass.*pMember;
 classMethod();

 ?

 C
Nov 22 2003