allow the nice constructs I had imagined (and compiled with g++) - I removed the createParam method in Parser class - that was creating the parameters on the heap. Not allowed to have a templatized method ??? - I removed the subroutine read_param in SecondBitEA, as you need to create permanent parameters (eoParser only holds references), and egcs did not allow to create them by reference, i.e. in the line eoValueParam<xxx> & blablaParam(...); So now everything is done in the main_function, and 3 lines are needed to create and read every paramter (sigh ...) |
||
|---|---|---|
| .. | ||
| binary_value.h | ||
| exercise1.cpp | ||
| Makefile | ||
| SecondBitEA.cpp | ||