Boost logo

Boost Users :

Subject: [Boost-users] [xpressive] static expression adding
From: Jan Boehme (jan.boehme_at_[hidden])
Date: 2009-02-12 07:28:29


Hi,

is it possible to add an expression to an already existing expression object?

Something like:

sregex re = '$' >> +_d >> '.' >> _d >> _d;

replace by:

sregex re = '$';
re += +_d;
re += '.' >> _d >> _d;

My attempts did result in compile time troubles.

Thanks for helping,
Jan.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net