Re: vector vector container

From: Feverati.Giovanni <feverati_at_lapp.in2p3.fr>
Date: Fri, 9 Apr 2010 09:39:33 +0200

Thank you to Sebastien and Axel for your indications.

Giovanni

On Thu, 8 Apr 2010, Axel Naumann wrote:

> Hi,
>
> Sebastien Binet wrote on 04/08/2010 04:47 PM:
>> Excerpts from Feverati.Giovanni's message of 2010-04-08 16:30:34 +0200:
>>> Hi
>>>
>>> It happens that root creates three files
>>> AutoDict_vector_vector_char_allocator_char_____.cxx
>>> AutoDict_vector_vector_char_allocator_char______cxx.d
>>> AutoDict_vector_vector_char_allocator_char______cxx.so*
>>> every time I use the following declaration in a root script
>>> vector <vector <char> > aa(10);
>>> followed by a double loop to fill in all the entries of the variable
>>> aa.
>>>
>>> What is the purpose of these files? Are they specific of the operating
>>> system? Is there a way to avoid their appearence?
>> gInterpreter->ProcessLine(".autodict");
>>
>> should disable the dictionary auto-generation.
>>
>> in my experience (ie: within atlas code which is based on ROOT 5.22)
>> I found it best to disable this auto generation and generate
>> Reflex-dicts (+auto-loading of course) for these classes.
>
> I agree it's better to provide the dictionaries, but we found many cases
> where users appreciate the automatic ones (and don't care about the
> details :-). And in any case the automatic dictionaries tell you which
> dictionaries are missing - that by itself is a benefit.
>
>> the .cxx files should be platform independent,
>
> No, they are actually all platform dependent.
>
> Cheers, Axel.
>
Received on Fri Apr 09 2010 - 09:41:20 CEST

This archive was generated by hypermail 2.2.0 : Fri Apr 09 2010 - 17:50:01 CEST