Wesley Smith wrote: > 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? In don't think that this is possible. While you can, in general, use pointers as (value-type) template parameters, the standard explicitly forbids using a string literal to instantiate templates (AFAIR). However, such question does not really belong to gcc-help. You might want to seek for help on a general C++ mailing list. Daniel