This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] PR 8761 and 7076, take 4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]