S
Shlomi
Hi !
I've wrote quite a big code which bases on a considerable large amount
of template classes. (uses many different kinds of each template
class).
Now, without prior knowledge of mine, it turns out that this code
should
be compiled with compiler which doesn't support templates ! (OUCH!)
after my face got back to its normal color, we've started of thinking
what are our options:
1. rewrite the template classes such that there'll be a unique class
to each of them (think about all the relations between the different
kinds - it's like a cartesian product of each function which recieve
other template class argument...) one big head-ache.
2. write a parser which will do the work. (and hope)
3. search for a tool which does that or something similar.
4. maybe use a C++ to C translator.
5. write a template supported compiler for the specific platform
(mmm.. guess not)
6. ask in comp.lang.c++ google groups for ideas... (anyone?)
help would be very appreciated.
Thanks in advance,
Shlomi
I've wrote quite a big code which bases on a considerable large amount
of template classes. (uses many different kinds of each template
class).
Now, without prior knowledge of mine, it turns out that this code
should
be compiled with compiler which doesn't support templates ! (OUCH!)
after my face got back to its normal color, we've started of thinking
what are our options:
1. rewrite the template classes such that there'll be a unique class
to each of them (think about all the relations between the different
kinds - it's like a cartesian product of each function which recieve
other template class argument...) one big head-ache.
2. write a parser which will do the work. (and hope)
3. search for a tool which does that or something similar.
4. maybe use a C++ to C translator.
5. write a template supported compiler for the specific platform
(mmm.. guess not)
6. ask in comp.lang.c++ google groups for ideas... (anyone?)
help would be very appreciated.
Thanks in advance,
Shlomi