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! Regards, Michel