Boost logo

Boost :

Subject: [boost] [PropertyMap] proposing compose_property_map
From: by way of Guillaume Pinot (guillaume.pinot_at_[hidden])
Date: 2013-02-17 13:27:49


Using boost graph, and particulary reverse_graph, I needed a
compose_property_map adaptor. As it may be interesting to everyone, I
propose my code.

I had problems to find a good return type for the get() free function.
The solution proposed here has the drawback of needing a copy
constructible type for the value_type of the FPMap in the concept
checks. I didn't find any other type for the get() function that pass
the concept checks and that do not return stack variable, and avoid
useless copy.

The patch may not work completely as I am discovering the boost build

I am open to any comment.


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