From: Christophe de V. <cde...@gm...> - 2007-08-10 13:54:46
|
Hi Lo=EFc, Lo=EFc Joly a =E9crit : > > Is there any reason why the xmlpp::Document::write_to_... functions are= not const ? I have a const refrence to an object that contains a xmlpp::Do= cument, and I have to use ugly const_cast to be able to do what seems to me= to be a non-modifying operation. > > I don't think there is a particular reason for that. A patch to add (not replace) const versions of write_to_ functions would certainly be applied. Regards, Christophe |