|
Boost Users : |
Subject: Re: [Boost-users] [Property Map] given a function/functor, how to construct readable property map?
From: Philipp Moeller (philipp.moeller_at_[hidden])
Date: 2012-03-21 04:40:18
Frank Bleacher <bloodymir.crap_at_[hidden]> writes:
> Hi!
>
> Am 20.03.12 20:23, schrieb Jeremiah Willcock:
>> it really should be put into Boost proper but hasn't yet.
>
> I started working on it.
I have an implementation here [1] which takes care of functors returning
references and tries to get a proper value_type and should handle
operator()() const as well. It depends on C++11, but that should be
resolvable if you explicitly specify the type of the key argument.
HTH,
Philipp Moeller
[1] : https://github.com/bo0ts/property_map_extensions/blob/master/function_property_map.hpp
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