|
Boost : |
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2007-07-07 10:10:48
Hi Peter!
On 7/7/07, Peter Dimov <pdimov_at_[hidden]> 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:
> >
> > http://lists.boost.org/Archives/boost/2006/07/108355.php
>
> 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.
>
> http://aspn.activestate.com/ASPN/Mail/Message/boost/1157287
>
Thanks for the link!
-- Dean Michael C. Berris http://cplusplus-soup.blogspot.com/ mikhailberis AT gmail DOT com +63 928 7291459
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk