Boost logo

Boost :

From: James Curran/MVP (jamescurran_at_[hidden])
Date: 2001-11-03 09:21:54


        Jeremy,
I've taken your example given in the "Constructing a Graph" section of
http://www.boost.org/libs/graph/doc/quick_tour.html and added "#include
<string>" & "using namespace std;". It compiles fine for me with
VC6SP5.

        Could you give a more explicit description of what triggers the
problem?

    Truth,
     James Curran

-----Original Message-----

        Message: 11
           Date: Fri, 2 Nov 2001 20:20:36 -0500 (EST)
           From: Jeremy Siek <jsiek_at_[hidden]>
        Subject: VC++, xlocnum problems, help!

        Trying to get a batch of new examples for the graph library to
        work with VC++...

        I'm getting lots of errors comming from the VC++ library
        header xlocnum that look like this:

        _U : illegal use of local variable as default parameter

        It seems that I get this problem when I #include <string>.

        Anyone know of a workaround?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk