corner76@gmail.com wrote:[color=blue]
> Hi all,
>
> I have designed, implemented and tested this code, and it runs[/color]
What code ?
[color=blue]
> perfectly. Now we're porting it to ARM11, and its compiler doesn't
> support virtual function in compination with something that's inherent
> in our application and cannot be changed.[/color]
What 'something' ?
If it doesn't support virtual functions, then it's not a C++ compiler.
[color=blue]
> So I have to figure out how to implement virtuality myself.
>
> I have a base class (representing a prameter) with some derived classes
> (one per paramter type). I have a container of the base class objects,
> that uses virtual functions to "work" with the objects.
>
> I tried just using a void * array with one entry per virtual function.
> The population is an issue because of type converstions. Then invoking
> the methods is impossible without casting to the real type. Well - I'm
> in a mess.
>
> Help, anyone?[/color]
Get a compiler that compiles C++ code
[color=blue]
>
> Thanks!
>
> Keren.[/color]