BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bi-Directional Map

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++)
View previous topic :: View next topic  
Author Message
Bill
Guest





PostPosted: Sun Apr 22, 2007 10:05 pm    Post subject: Bi-Directional Map Reply with 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.

Thanks

-Bill
Back to top
Thomas Maeder [TeamB]
Guest





PostPosted: Sun Apr 22, 2007 10:44 pm    Post subject: Re: Bi-Directional Map Reply with quote



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





PostPosted: Tue Apr 24, 2007 6:41 pm    Post subject: Re: Bi-Directional Map Reply with quote



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?

Quote:
-Bill

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.