Opened 12 years ago
Closed 11 years ago
#4313 closed Bugs (duplicate)
operator_arrow_result should use Reference instead of ValueType in operator_arrow_proxy
Reported by: | Jeremiah Willcock | Owned by: | Dave Abrahams |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | iterator |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | Cc: |
Description
For classes such as multi_array that have proxy reference types with non-proxy value types, there is an error from implicit_cast when trying to convert a Reference* into an operator_arrow_proxy<ValueType> (which needs a ValueType* as argument). The attached patch changes this; it passes all of the Boost.Iterator and Boost.MultiArray tests.
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | op_arrow.patch added |
---|
comment:1 by , 12 years ago
Is it OK for me to apply this? The patch did not seem to cause any problems.
comment:2 by , 12 years ago
This message may be relevant: http://lists.boost.org/Archives/boost/2008/03/135128.php
comment:3 by , 11 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is now covered by #5697.
Note:
See TracTickets
for help on using tickets.
Patch