19 Apr
2005
19 Apr
'05
12:50 a.m.
"Pablo Aguilar"
How about using Boost.Preprocessor and have it write the 10 overloads for you?
There should be examples available for you to look at (sorry, wouldn't know how to write it by heart, I'm still fairly new to Boost.PP and have to constantly look at the docs)
Pablo Aguilar
An example is available in the ENUM_PARAMS_Z reference docs, I believe that's what you'd be looking for...