Boost logo

Boost Users :

Subject: Re: [Boost-users] storing pointers in a std::map
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-03-11 12:56:13


On 11 March 2010 12:40, Alan Tennant <alan2here_at_[hidden]> wrote:
>
> Uncomment the m1... line to uncover the error.
>

First, this is not really a boost question, so a general C++ list
would be a more appropriate forum.

That said, running the code -- with the line uncommented -- through
codepad gives me only one error:

    Line 12: error: '::main' must return 'int'

I suspect you're using a less-than-stellar compiler.

~ Scott


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