[Bug 1641] Red Black Tree data structure

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sat Sep 18 03:40:00 UTC 2010


--- Comment #10 from Chris Johns <chrisj at rtems.org> 2010-09-17 22:39:58 CDT ---
I have been taking a close look at this code and have a few questions. I like
the idea of a standard tree being in RTEMS and have started some documentation.

You seem to define local variables in the middle of blocks like C++ allows. I
know GCC allows this but I thought this is an extension and currently not
standard ? Do we allow local declarations in the middle of blocks in score code
? I did not think this was allowed.

The code only supports an unsigned integer. Would it be possible to support a
string as well ? Maybe the value could be a union and control structure can
have a flag that indicates the union field. I could use a string based tree.

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list