Re: commit -- fix for UT_RBTree


Subject: Re: commit -- fix for UT_RBTree
From: Mike Nordell (tamlin@algonet.se)
Date: Wed Jul 18 2001 - 03:35:10 CDT


Joaquin Cuenca Abela wrote:
>

> Fixed a bug in the UT_RBTree::insert code.

Keeping a r-b tree balanced can be a somewhat "interesting" excercise. :-)

Any particular reson why the implicitly inlined member functions are
expliticly given the "inline" keyword in ut_set.h? Also, why the "UT_Set::"
qualification for the iterator within the declaration of UT_Set member
functions?

> Btw, I suppose that I'm not dreaming
> or something... msvc doesn't cares about koenig's
> rule, doesn't it?

Partially, sometimes, sortof... but in reality it's broken.

> I had:
>
> random_shuffle(numbers.begin(), numbers.end());

Should this work? AFAIK, you must first "mention" a data type in another
namespace for the lookup to consider that namespace, or?

/Mike



This archive was generated by hypermail 2b25 : Wed Jul 18 2001 - 03:33:39 CDT