This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] PR 8761 and 7076, take 4
- From: Nathan Myers <ncm-nospam at cantrip dot org>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 23 Jan 2003 22:33:30 -0800
- Subject: Re: [patch] PR 8761 and 7076, take 4
- References: <E18bweN-0005KU-00@tiamat>
On Fri, Jan 24, 2003 at 12:45:11AM -0500, Jerry Quinn wrote:
> I haven't added dummy virtual functions since I'm nervous about
> conjuring up dummy interfaces for the future without a clue as to how
> they might be used, esp., what parameters and return values to give.
> We could do:
> virtual void _M_dummy1(string s = "");
> virtual int _M_dummy2();
> Nathan, is this what you had in mind?
Just
virtual void _M_reserved1() {}
virtual void _M_reserved2() {}
suffices. When we use them, we will change the names, argument lists and
return types as needed. All they reserve is slots in the vtable.
I'd like to reserve some space (a couple of void* members) and
some virtuals in basic_streambuf as well. I suppose I can
prepare those patches myself, you needn't bother.
Nathan Myers
ncm-nospam@cantrip.org