Roel,
as the error message states:
> TClass::TClass:0: RuntimeWarning: no dictionary for class pair<map<string,double>::iterator,bool> is available
which is the return type of the overload that you want to call:
pair<iterator, bool> insert(const value_type& x);
Now, if the return type would be a pointer, things can be fuzzed even if there is no dictionary available, since the size of a pointer is fixed and known. But the unknown size of an unknown object leads to impossible memory management and thus the call fails.
Add that pair class for the return to a dictionary and you should be in business.
HTH,
Wim
-- WLavrijsen_at_lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.netReceived on Tue Jan 31 2012 - 19:26:25 CET
This archive was generated by hypermail 2.2.0 : Tue Jan 31 2012 - 23:50:01 CET