Boost logo

Boost :

From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2004-04-20 19:38:56

Neal D. Becker wrote:

> error: use of `map' is ambiguous
> error: first declared as `template<class Key, class T, class Cmp,
> class
> Allocator> struct std::map' here
> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at