
5 Nov
2005
5 Nov
'05
10:38 p.m.
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