Boost logo

Boost :

Subject: Re: [boost] [Potentially OT] String Concatenation Operator
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-08-24 13:42:38


Can't you just work over the wstring example in proto and use this as a
base for a intelligent string concatenation system ?
basically, any termianl containing a string of any kind and operator+ or
w/e build a proto tree that you affect to your string.
This expression is crawled down at RT to gatehr the length, allcoate the
buffer and do another traversal for copying each part
where it does. Then use proto::lit() to build char[], char* or
std::string into the proto AST.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk