
19 Aug
2009
19 Aug
'09
8:43 p.m.
on 20.08.2009 at 0:37 joel wrote :
What about : #ifdef NDEBUG #define GMP_MODE gmp #elif #define GMP_MODE classic #endif then in other unit : bignum<GMP_MODE> x,y;
or type everywhere typedef bignum<IMPL> mybignum; and then #define IMPL or #define IMPL specific_impl (or set it in project options separately for release and debug version) but this is a hack it shouldn't be like that -- Pavel