by =?utf-8?Q?David_C=C3=B4me?= <davidcome@[EMAIL PROTECTED]
>
May 8, 2008 at 10:34 AM
On Thu, 08 May 2008 03:26:03 +0200, Brad <brad@[EMAIL PROTECTED]
> wrote:
> New to C++. Just ran into a need to store three things in a map. Before
> trying it, I thought I'd post here and ask for advice. Here is an
> example of what I need to store:
>
> map<string name, string prefix, int length>
>
> Both name and prefix would be unique for each map entry. I was wondering
> if the the first entry could be an array that holds the two items (name
> and prefix), but then I wondered how an iterator would behave when
> it->first is called.
>
> Any suggestions or pointers on using a map with three items would be
> much appreciated.
>
> Brad
Boost Tuple ?