Re: std::map and root

From: Marc Escalier <escalier_at_lal.in2p3.fr>
Date: Sun, 13 Nov 2011 11:31:33 +0100


thank you Benjamin




On Sat, 12 Nov 2011, Benjamin Bannier wrote:

> Hi Marc,
>
>> just wondering if you would have an idea on this :
>>
>> std::map<string,TH1*> hmap;
>> std::map<std::string,TH1*>::const_iterator hiter(hmap.begin());
>>
>> -->Error: Can't call iterator::iterator(hmap.begin()) in current scope
>
> not that have any idea what happens here, but this seems fine in
> 5.30.03:
>
> std::map<string,TH1*> hmap;
> std::map<std::string,TH1*>::const_iterator hiter = hmap.begin();
>
> Welcome to CINT.
>
> Benjamin
>
>
> --
> "Good judgment comes from experience. Experience comes from bad judgment."
>
Received on Sun Nov 13 2011 - 11:31:41 CET

This archive was generated by hypermail 2.2.0 : Sun Nov 13 2011 - 11:50:01 CET