Boost logo

Boost :

From: Matthias Schabel (boost_at_[hidden])
Date: 2007-02-20 11:34:14

> bimap<X,Y> bm;
> bm.left // --> map<X,Y> : X first, Y second
> bm.right // --> map<Y,X> : Y first, X second

You may want to consider the nomenclature "forward" and "reverse" -
for directories,
this is the standard way of referring to, for example, look-up of a
telephone number
from a name and look-up of a name from a telephone number,
respectively. Reverse
also indicates that the order of the template arguments are reversed
in that case
relative to the order in which they are declared.


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