[propertymap] boost::function as map

-----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? 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. Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: keyserver x-hkp://pool.sks-keyservers.net iEYEARECAAYFAk97a0oACgkQhAOUmAZhnmo/qgCcDv19D3TfjW0nLb0hiykSwrzL yfQAnjvTSJv3MZMgBCFS1mGJQKFfDBYO =HCjT -----END PGP SIGNATURE-----

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
participants (2)
-
Frank Birbacher
-
Jeremiah Willcock