Boost logo

Boost Users :

Subject: Re: [Boost-users] Need a solid dictionary/map/query interface
From: Igor R (boost.lists_at_[hidden])
Date: 2011-09-24 13:00:41

> A little background, we've got Visual Studio 2008 C++/CLI library through
> which we'd like to expose a dictionary-mapped data abstraction. We'd like to
> be able to ask some questions about the dictionary mapping, whether for its
> keys, values, or some combination thereof.
> I've got a strong background in C# particularly with regard to its Generic
> Collections and the Linq area. This is how I'd like to think of the
> dictionary questions. The rub of course is that the support for C++/CLI Linq
> is rather slim, if at all.
> Does boost offer something along these lines comparable to Linq?

If you mean sql-like syntax, then the answer is most likely no.
However, putting syntax aside, MultiIndex offers very powerful and
flexible facilities. Sometimes you can also combine it with Lambda or
Phoenix to get some "syntactic sugar", like this:

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at