This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Make stringbuf::_M_sync non virtual
- From: Nathan Myers <ncm-nospam at cantrip dot org>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 19 Jun 2003 08:11:01 -0700
- Subject: Re: [Patch] Make stringbuf::_M_sync non virtual
- References: <3EF1B7D6.5020706@unitus.it>
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