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)
Change History (3)
by , 11 years ago
| Attachment: | clear_queue.patch added | 
|---|
comment:1 by , 11 years ago
| Owner: | changed from to | 
|---|
comment:2 by , 11 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

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