| View previous topic :: View next topic |
| Author |
Message |
Bill Guest
|
Posted: Sun Apr 22, 2007 10:05 pm Post subject: Bi-Directional Map |
|
|
Hi,
Is there a way to create a simple bi-directional map using stl? I've
found bimap.h on the Internet, but it does not compile with BCB. A lots
of errors showed up when I compiled it with BCB 6 Professionals version.
Thanks
-Bill |
|
| Back to top |
|
 |
Thomas Maeder [TeamB] Guest
|
Posted: Sun Apr 22, 2007 10:44 pm Post subject: Re: Bi-Directional Map |
|
|
Bill <bengst (AT) optonline (DOT) net> writes:
| Quote: | Is there a way to create a simple bi-directional map using stl? I've
found bimap.h on the Internet, but it does not compile with BCB. A
lots of errors showed up when I compiled it with BCB 6 Professionals
version.
|
Creating a class that uses two std::maps internally with reciprocal
key and value types is pretty simple.
What operations do you need on the bidirectional map? |
|
| Back to top |
|
 |
Hendrik Schober Guest
|
Posted: Tue Apr 24, 2007 6:41 pm Post subject: Re: Bi-Directional Map |
|
|
Bill <bengst (AT) optonline (DOT) net> wrote:
| Quote: | Hi,
Is there a way to create a simple bi-directional map using stl? I've
found bimap.h on the Internet, but it does not compile with BCB. A lots
of errors showed up when I compiled it with BCB 6 Professionals version.
|
Does this
http://groups.google.com/group/microsoft.public.vc.language/msg/0c28908f5c809d4b
help?
Schobi
--
SpamTrap (AT) gmx (DOT) de is never read
I'm HSchober at gmx dot de
"My hope is that if more people start reading books,
the world will become a better place."
froarulv in afp |
|
| Back to top |
|
 |
|