Boost logo

Boost Users :

Subject: [Boost-users] [fusion] conversion from map *values* to vector
From: alfC (alfredo.correa_at_[hidden])
Date: 2010-11-09 18:16:52


I have a general fusion map
for example
map< pair<p, double> , pair<q, double> >

if I use as_vector I get

vector<pair<p, double> , pair<q, double> >

is there a function that given the map converts it into
vector<double, double>

i.e. gives a vector with only the values of the key and not the keys/
value pair?

Thank you,
Alfredo


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net