Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-11-05 17:38:06


Stefan Seefeld wrote:
> Reece Dunn wrote:
>
>> This would make it easier to support push_back( cdata( "foo<bar>" )),
>> etc. without having _comment, _cdata, etc. variants for each insertion
>> function.
>
> Are you seriously suggesting all this overhead just for having a single
> name being overloaded ? It isn't even less typing for users, so what gain
> does this provide ?

I was just suggesting a way it could be done. I agree that it has
additional overhead, so would not really be practical, but it would make
the handing of CDATA, comment, text, etc. nodes separate from the
document or element type.

- Reece


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