g++ compile time calculations

Wesley Smith wesley.hoke@gmail.com
Thu Feb 22 17:12:00 GMT 2007


Is it actually possible to process the characters of a string during
the C++ compilation process or is this something that is impossible
due to the C++ spec?  I'm startign to think it isn't possible at all
and that only number types like the famous Factorial template can be
handled this way.  What document could I look in to find this out?

thanks,
wes



More information about the Gcc-help mailing list