[Patch/RFC] Sebor's const correctness issue

Paolo Carlini pcarlini@unitus.it
Fri Jan 31 22:33:00 GMT 2003


Hi,

in privare mail Benjamin suggested (*many* thanks!) using mutable
to fix the const correctness issue put forward by Martin Sebor.

Indeed, the below stems quite straightforwardly from making
locale::facet::_M_references mutable and locale::_Impl::_M_facets
of type const facet**.

Would that approach (regtests ok on x86-linux) be viable for trunk?

Paolo.

////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_constness
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030131/654b8664/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_constness
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030131/654b8664/attachment-0001.ksh>


More information about the Libstdc++ mailing list