Re: No cooperation between dictionaries from Cint and Reflex

From: <wlavrijsen_at_lbl.gov>
Date: Tue, 31 Jan 2012 10:26:15 -0800


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.net
Received 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