Boost logo

Boost Users :

From: Aaron Windsor (aaron.windsor_at_[hidden])
Date: 2007-06-04 21:57:18


On 6/4/07, gast128 <gast128_at_[hidden]> wrote:
> Dear all,
>
> We want to (DLL) export a boost graph. Probably on (DLL) exporting, the
> compiler tries to generate code for every member function. However on VC++7.1
> it gives then a problem with operator[]. This can be easily verified with the
> following case:
>
> void Foo()
> {
> boost::adjacency_list<> graph;
> graph[0];
> }
>
> We use here Boost 1.33.0. Anyone an idea?
>
> Wkr,
> me

Hi,

What are you expecting the expression "graph[0]" to do/return in the code above?

Regards,
Aaron


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