On 8/9/07, Gordon Waidhofer <[EMAIL PROTECTED]> wrote:
> I like the way y'all approached choice parameters.
> Would this "interface" trick work if a
> parameter is a member of multiple choices?
> If I understand what you're doing, it's slick
> and I wish C++ could do it.


Hmm... C++ supports multiple inheritance. So for each alternation
point I think it would be possible to generate an abstract class that
inherits from all of the parameter types allowed at that point. A
pointer of this type would be able to reference an object of any type
that class inherits from. If so, then you would have strongly typed
alternation points in CPP.

-- John.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to