Boost logo

Boost Users :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2004-01-27 09:12:21


Hi Leonid,

On Jan 27, 2004, at 1:06 AM, lr wrote:

> hello all,
>
> i was wondering if anyone could help me with this compilation error.
> gcc indicates that the error is in put(), specifically it cannot match
> the operator for [bool&] on property_map.hpp:316. the full
> output is included below.

The operator[] for this property map takes an edge_descriptor,
not bool. So it looks like you are calling operator[] with the
wrong kind of argument.

>
> the origin of the error is caused in destructor code (when objects get
> out of scope in testgdlgraph.cpp).
>
> if i need to supply more information about the code i am writing let me
> know. i am hesitant because it is fairly complicated, as i am having
> trouble trying to replicate this problem in a simple example.
>
> thanks
>
> leonid
>
> ps. boost rocks, keep up the good work!

Thanks!

Cheers,
Jeremy

------------------------------------------------------------------------
-----------------
Jeremy Siek http://php.indiana.edu/~jsiek/
  Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
  C++ Booster (http://www.boost.org) office phone: (812) 856-1820
------------------------------------------------------------------------
-----------------


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