
7 Jul
2007
7 Jul
'07
2:10 p.m.
Hi Peter! On 7/7/07, Peter Dimov <pdimov@mmltd.net> wrote:
"JOAQUIN LOPEZ MU?Z" wrote:
If you're using the placeholders exclusively as syntactic tokens, then the following ODR-abiding technique can be of use:
enum to_upper_placeholder { to_upper_ };
is easier if you don't mind the conversion to int.
I actually mind the conversion to int... I've actually thought about doing this before if all else failed.
The inline function technique was first suggested to me by Yitzhak Sapir, FWIW.
Thanks for the link! -- Dean Michael C. Berris http://cplusplus-soup.blogspot.com/ mikhailberis AT gmail DOT com +63 928 7291459