Opened 14 years ago
#2833 new Feature Requests
extract result during initialization
Reported by: | e_r | Owned by: | Eric Niebler |
---|---|---|---|
Milestone: | Boost 1.39.0 | Component: | accumulator |
Version: | Boost 1.37.0 | Severity: | Problem |
Keywords: | Cc: |
Description
This is a follow up to:
news://news.gmane.org:119/goeic6$q4t$1@ger.gmane.org
where I asked : I have an accumulator (a) that takes an initial value (x_), and another (b), whose initial value (x_) depends on that of (a). I would have thought that this is feasible because accumulator_set initializes (a) before (b), but apparently b.x_ is initialized with a garbage value.
Attachments (3)
Change History (3)
by , 14 years ago
Attachment: | accu_a.hpp added |
---|
by , 14 years ago
Attachment: | accu_b.hpp added |
---|
by , 14 years ago
Attachment: | example_temp_accu.cpp added |
---|
Note:
See TracTickets
for help on using tickets.