From: John Britton (johnb_at_[hidden])
Date: 2000-10-05 16:40:34
> If one takes libs/graph/examples/connected_components.cpp, and
> encloses the main() function in a namespace, the VC++ compiler fails...
This problem is driving me nuts, and I've discovered it to be more insidious
than simply having, or not having, a namespace. If one simply edits a
pristine libs/graph/examples/connected_components.cpp and changes
int num = connected_components(G, &c, get(vertex_color, G),
int num = connected_components(G, &c );
the same VC++ error "C1001: INTERNAL COMPILER ERROR" is reported.
When examining the code, I was wondering why the first version of
connected_components() was used, instead of the second one above, which if I
understand things correctly, should be equivalent. Was it to avoid this VC++
Not having fun today, JohnB
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk