Opened 9 years ago

Last modified 9 years ago

#3954 new Bugs

fusion algorithms must be overloaded for const and non-const arguments

Reported by: Eric Niebler Owned by: Joel de Guzman
Milestone: Boost 1.43.0 Component: fusion
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

Several fusion algorithms (e.g. pop_front, reverse) take their arguments by const reference unconditionally. This is inconsistent with the result_of templates for these algorithms which are sensitive to the const-ness of their arguments. For consistency and correctness, all fusion algorithms must have overloads that take their arguments by non-const reference.

Change History (1)

comment:1 Changed 9 years ago by Eric Niebler

Summary: fusion algorithms must be overloaded for const and non-const algorithmsfusion algorithms must be overloaded for const and non-const arguments
Note: See TracTickets for help on using tickets.