Boost logo

Boost Users :

Subject: Re: [Boost-users] Another baffling error message
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-08-06 11:48:02


Hi Eric,

On Aug 6, 2011, at 3:14 AM, Eric Fowler <eric.fowler_at_[hidden]> wrote:

> class DelaunayGraph: public DG
> {
> public:
> void foo()
> {
> Edge e = whatever();
> remove_edge(e, *this); // <<<<----THIS BLOWS UP
> ..stuff...
> }

I think you're invoking a member function instead of the free function you intended. Try boost::remove_edge.

HTH
G


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