Opened 13 years ago
Closed 13 years ago
#3739 closed Feature Requests (fixed)
Generalizing identity_property_map for arbitrary types
| Reported by: | Noel Belcourt | Owned by: | Jeremiah Willcock |
|---|---|---|---|
| Milestone: | Boost 1.42.0 | Component: | property_map |
| Version: | Boost 1.41.0 | Severity: | Not Applicable |
| Keywords: | Cc: |
Description
On Tue, 8 Dec 2009, Belcourt, Kenneth wrote:
Hi,
I've found the property map library to be very useful and would like to propose a minor enhancement to permit the identity_property_map to work for arbitrary types. The reason for this is that some computationally intensive algorithms suffer noticeable performance degradation when I convert them to generic algorithms using property maps. Having a typed identity property map that returns, for example, the double passed into it significantly speeds up our algorithms, at least for those fields that are not mutable.
I've attached a patch, and could supply a motivating example, if anyone is interested.
-- Noel
I don't see a patch attached to your email. Could you please file a feature request on Trac for property_map? Thank you.
-- Jeremiah Willcock _ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Attachments (1)
Change History (2)
by , 13 years ago
| Attachment: | property_map.hpp.diff added |
|---|
comment:1 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

(In [58246]) Applied patch from #3739; fixes #3739