11 Mar
2010
11 Mar
'10
10:57 a.m.
On Thu, Mar 11, 2010 at 15:58, OvermindDL1
On Thu, Mar 11, 2010 at 2:29 AM, Surya Kiran Gullapalli
wrote: >> ("st"|"nd"|"rd"|"th") ;
That is because "st"|"nd"|etc... you are trying to 'or' two string constants, that makes no sense in C++. You need to 'infect' the whole line by wrapping the first one with as_xpr as: >> (as_xpr("st")|"nd"|"rd"|"th") ;
Thanks, it worked. I thought the first as_xpr would infect everything. but i was mistaken. Surya