[patch] PR 8761 and 7076, take 4

Nathan Myers ncm-nospam@cantrip.org
Fri Jan 24 06:33:00 GMT 2003


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



More information about the Libstdc++ mailing list