Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-07-13 14:16:41

Jake Voytko wrote:
> Perhaps "Standard" was a bad term, but rather, "Boost accepted". While
> perusing the Boost.Bimap docs, I found that the following syntax is allowed
> for defining a Bimap:
> typedef bimap<int,std::string> bm;
> bm b = list_of< bm::relation > (1,"one") (2,"two") (3,"three");
> And I found that this felt like a natural way to define pairs.

It's the natural lisp way.

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