[Patch] Make stringbuf::_M_sync non virtual
Nathan Myers
ncm-nospam@cantrip.org
Thu Jun 19 15:09:00 GMT 2003
On Thu, Jun 19, 2003 at 03:17:10PM +0200, Paolo Carlini wrote:
>
> I can't find a sound reason to have _M_sync virtual, thus making,
> in principle, the inlining more difficult: in fact its cousin
> filebuf::_M_set_buffer isn't.
>
> Tested x86-linux, ok?
I agree. "virtual" meaningful only as a documented interface or as an
implementation hack.
Nathan Myers
ncm-nospam@cantrip.org
More information about the Libstdc++
mailing list