$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Eric Niebler (eric_at_[hidden])
Date: 2006-01-03 15:21:32
dan marsden wrote:
> --- Andreas Pokorny <andreas.pokorny_at_[hidden]> wrote:
>
>>Hi there,
>>
>>I have a slight problem with the construction of a
>>map with fusion::as_map
>>on an empty view:
>
>>Should I check if the view is empty before running
>>as_map?
>
> No you should not need to check for empty sequences
> passed to
> as_map. This behaviour was caused by a defect in
> fusion's comparison of the iterators of filter_view.
> I've checked a fix into cvs and added a test to cover
> the behaviour.
>
> Compiling your example with the latest version then
> seems to be ok.
>
> Thanks for picking this one up!
Where is fusion-2 checked in? I'd like to port this fix to Boost main
CVS. This problem has been bugging me since November, when I first
reported it to Joel.
-- Eric Niebler Boost Consulting www.boost-consulting.com