Boost logo

Boost Users :

From: Jeff F (TriumphSprint2000_at_[hidden])
Date: 2006-12-18 15:04:11


Duane Murphy wrote:
> I'm trying to use boost::ptr_map<> and cannot get calls insert to
> compile.
>
> I'm on Mac OS X using gcc 3.3 with Xcode.
>
> Even the most basic code fails to compile:
>
> boost::ptr_map< in, int* > my_map;

shouldn't this be(ie: no *):

    boost::ptr_map< int, int > my_map;

Jeff Flinn


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