Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost Graph Library] Example fails with dynamic allocated array?
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2008-11-18 10:52:49

r89 wrote:
> Can anyone see why they are different?
> int num_arcs = sizeof(edge_array) / sizeof(Edge);

The above line will not work correctly when edge_array is a pointer
instead of a c-array.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at