bearophile: > But I don't understand why for example getValue() can be a CT function, while DoCheckMen() can't. Anyway, even using those few small CT functions the compile time decreases from 1.81 s to about 0.91 s on my PC, and the memory used from about 42 MB to 32 MB, I don't know why. Bye, bearophile