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)

op_arrow.patch (488 bytes ) - added by Jeremiah Willcock 12 years ago.
Patch

Download all attachments as: .zip

Change History (4)

by Jeremiah Willcock, 12 years ago

Attachment: op_arrow.patch added

Patch

comment:1 by Jeremiah Willcock, 12 years ago

Is it OK for me to apply this? The patch did not seem to cause any problems.

comment:2 by Jeremiah Willcock, 12 years ago

comment:3 by Jeremiah Willcock, 11 years ago

Resolution: duplicate
Status: newclosed

This is now covered by #5697.

Note: See TracTickets for help on using tickets.