Re: [[gtkmm] last-minute API decision]



Am Mit, 2002-10-16 um 11.45 schrieb Murray Cumming:
> Daniel Elstner <daniel elstner gmx net> wrote:
> So my proposal is to fix it like
> > this:
> > 
> >   std::pair<iterator,bool> insert_interactive(...);
> >   std::pair<iterator,bool> erase_interactive(...);
> 
> I'd prefer an extra "bool& succeeded" argument. That seems like a more common
> technique.

Not in the STL, which I'm trying to emulate.  E.g. std::map<> uses
std::pair<key,value_type>.

So dudes, we need a third opinion *now* to decide the matter!

--Daniel





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]