Modify

Opened 8 years ago

Last modified 8 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.

Attachments (0)

Change History (1)

comment:1 Changed 8 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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Joel de Guzman.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.