Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-09-13 15:31:49


Berenguer Blasi wrote:
> Hi,
>
> I've been following this thread and been unable to do the same with:
>
> boost::shared_ptr< map<string,string> > ()
>
> So I can't do:
>
> constructor ( boost::shared_ptr< map<string,string> > varName =
> boost::shared_ptr< map<string,string> > () )
>
> The error I get is (why/how do I specify the missing params for map?):

[...]

I've no idea why this doesn't work; it seems like it should. Have you tried
using a typedef for map<string, string> to make it easier for the compiler?


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