Opened 11 years ago

Closed 11 years ago

#6368 closed Bugs (fixed)

[multi_pass] clear_queue isn't forwarded to the storage policy

Reported by: anonymous Owned by: Hartmut Kaiser
Milestone: To Be Determined Component: spirit
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

In home/support/iterators/detail/combine_policies.hpp, clear_queue is only forwarded to the checking policy.

If the checking policy is not optimized out of the inheritance chain due to being empty, this leads to an ambiguous reference when trying to use that function because the storage policy also implements clear_queue.

Otherwise, the checking policy's clear_queue will silently not be called.

Attachments (1)

clear_queue.patch (7.1 KB ) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (3)

by anonymous, 11 years ago

Attachment: clear_queue.patch added

comment:1 by Joel de Guzman, 11 years ago

Owner: changed from Joel de Guzman to Hartmut Kaiser

Passing this on to Hartmut Kaiser. Hartmut, what do you think?

comment:2 by Hartmut Kaiser, 11 years ago

Resolution: fixed
Status: newclosed

(In [76384]) Spirit: fixed #6368: [multi_pass] clear_queue isn't forwarded to the storage policy

Note: See TracTickets for help on using tickets.