Boost Users :
Subject: Re: [Boost-users] [multi-index][foreach] Iterating over a sequence index (worked in 1.46, broke in 1.47)
From: Michel MORIN (mimomorin_at_[hidden])
Date: 2011-08-03 09:35:27
Eric Niebler wrote:
>> Compile-time lvalue/rvalue detection does not cause any problem with
>> `sequenced_index`. Considering the fact that many compilers (VC++ 7.1
>> and newer versions, GCC 3.4-4.5) support compile-time detection,
> "Support" isn't the right word. They have compiler bugs that Foreach can
> exploit to get the information it needs. Gcc had such bugs until v4.6,
> but now it doesn't, hence the trouble.
>> it is not surprising that the compatibility issue between Boost.MultiIndex
>> and Boost.Foreach did not occur in the past. But it's just that the problem
>> did not surface in the past; on compilers that use run-time detection,
>> the problem has existed from the beginning.
> Exactly right. Thank you Michel.
Eric, your descriptions are always clear, concise and getting the point.
Admirable skill that I have to develop!
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net