
Neal D. Becker wrote:
/usr/local/src/boost_1_31_0/boost/lambda/detail/operator_return_type_traits.hpp :887:
error: use of `map' is ambiguous
/usr/local/src/boost_1_31_0/boost/lambda/detail/operator_return_type_traits.hpp :865:
error: first declared as `template<class Key, class T, class Cmp, class Allocator> struct std::map' here
/usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/bits/stl_map .h:92:
error: also declared as `template<class _Key, class _Tp, class _Compare, class _Alloc> class __gnu_norm::map' here
Declaring std::map outside the system headers yields undefined behaviour, lambda shouldn't be doing that. I understand it works almost everywhere, though. Good news is that it should work again in GCC 3.4.0 final. But that doesn't make it right. -- Giovanni Bajo