|
Boost Users : |
From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2006-04-21 08:40:15
On 4/21/06, Dmitry Bufistov <dmitry_at_[hidden]> wrote:
> Ovanes,
> In your implementation you need to change edge_descriptor class. Is it
> possible to do the same without such modification? I was trying define
> such global operator
> but it doesn't work for me (when I try to instantinate some std::map
> for edge I have compilation error:
> 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\functional(143)
> : error C2678: binary '<' : no operator found which takes a left-hand
> operand of type 'const edge_descriptor_t' (or there is no acceptable
> conversion)
Is your global operator in the same namespace as edge_descriptor_t?
-Michael Fawcett
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