Boost logo

Boost :

Subject: Re: [boost] Am I missing something or is Boost: String dictionary?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-05-06 11:40:14

On Monday 06 May 2013 17:35:56 Christof Donat wrote:
> Hi,
> >The basic idea is:
> >Given you have a string and an instance of a dictionary, you can:
> >1) check if the string is already in the dictionary.
> >2) Add the string to the dictionary and return the dictionary entry (if
> >the string is already present, return existing entry).
> >
> > [...]
> Maybe I misunderstood the concept. I think you are looking for
> std::set<std::string>.

...or std::map/std::unordered_map, perhaps.

Boost list run by bdawes at, gregod at, cpdaniel at, john at