Rajesh Walkay | 28 Sep 20:11
Favicon

proxy class in C2

Since the use of operator-> is going to be largely reduced (because of 
references), how would I write a proxy class that "feels" like a 
reference? Will C2 allow to overload the dot operator?

-Rajesh

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Slawomir Lisznianski | 29 Sep 23:39

Re: proxy class in C2

Rajesh Walkay wrote:
> Since the use of operator-> is going to be largely reduced (because of 
> references), how would I write a proxy class that "feels" like a 
> reference? Will C2 allow to overload the dot operator?

The problem of proxies in general, and "perfect proxies" specifically,
has not yet come up in the context of C2. This is partially because of 
the continuing refinements we are making to the C2's referencing model. 
Once we have formalized the model and have a solid understanding of its 
consequences we will tackle the proxy problem next. It won't be an easy 
one, let me assure you...

--

-- 
Slawomir Lisznianski
C2 Language Group Principal (http://c2-lang.org)

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

Gmane