Boost logo

Boost :

Subject: Re: [boost] [propertymap] boost::function as map
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-04-03 17:30:05


On Tue, 3 Apr 2012, Frank Birbacher wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> I've started working on supporting functors as property maps. I've
> just seen the commit r77506, with msg "Added function_property_map
> based on code from Philipp Moeller." So I guess I can stop working on
> that feature?

That code should work for boost::function without any problems. Having a
special case for boost::function would remove the need to specify the
parameter type, however.

> Maybe regarding a boost::function as a property map all by itself
> (without make_function_property_map) is a good idea? My work is in
> ^/boost/sandbox-branches/birbacher/propertymap-functormap, BTW.

I think there should just be a variant of make_function_property_map that
works for boost::functions. I'm not sure I like having that treatment be
implicit.

-- Jeremiah Willcock


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