That is genius! Sheer genius! Thank you. I did ponder for a while why constID!() invoked realConstID!(), instead of doing it in a single template. So I did the experiment and found it wouldn't compile if you did it in a single template. I don't know why though! Anyway, cheers!