I'm not sure what you're really trying to accomplish in the C++ code.

Rick

On Wed, Mar 17, 2010 at 11:23 AM, Brandon Cherry
<bran...@safedatausa.com> wrote:
> This might be the best way to explain what I think is happening in some
> C++ code.
>
> b = .bar~new()
> say b~test
> b~tryToSetIt()
> say b~test
> b~setIt()
> say b~test
>
> ::class foo
>
> ::attribute test
>
> ::class bar subclass foo
>
> ::method tryToSetIt
>     expose test
>     test = 'This is a test'
>
> ::method setIt
>     self~'test=':super('This is a test')
>
> How would you accomplish the setIt method in C++?
> --
> Brandon Cherry
> Network Engineer, Safe Data, Inc.
> (910) 285-7200 ext 3017
> http://www.safedatausa.com/
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to