Boost logo

Boost :

From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-06-27 07:47:59


"Tobias Schwinger" <tschwinger_at_[hidden]> wrote in message
news:d9optu$i5v$1_at_sea.gmane.org...
> As far as I can see, the semantics you propose can be decorated easily via MPL
> (set,begin,find,distance) and their use is uncommon enough to leave it an
> excercise to the user. Am I missing something ?
I used MPL and tuples to achieve such semantics, but I've used two
mpl::vectors(although map would be better here I think). Yeah implemention is a
bit uncommon for most users :) (See attachment). But client code is quite clean
and has good readability imho.

--
Pavel Chikulaev 



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk