From: Brock Peabody (brock.peabody_at_[hidden])
Date: 2003-11-18 10:53:33
> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On Behalf Of Brian McNamara
> <wishful thinking>
> If only "strings" were legal "template value parameters" in C++. Then
> we could write code like
> typedef regexp< "(hello )+world" >::type MyRegex;
> ... MyRegex::match( someString ) ...
> Aaaaaah. :)
If you don't mind pain you could have:
> >::type MyRegex;
I wrote a library for input masking that took 'compile time strings' this
way, just for fun.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk