Re: genreflex ignoring STL container deque

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Thu, 14 Jan 2010 10:09:23 +0100


Hi,

just for completeness:

Brett Viren wrote on 01/13/2010 06:33 PM:
> We have a main() function that does. But, I think there was no code that
> genreflex read that contains any instantiations. I just tried adding
>
> typedef std::deque<double> StlDequeDouble_t;
> typedef std::vector<StlDequeDouble_t> StlVectorDequeDouble_t;
>
> to the headers.h file given to genreflex, but it does not change the
> problem. Is there a better place/way to do an instantiation?

Yes, it needs to be in a header that genreflex sees. A typedef declaration does not create a template instantiation. Roel has given you a good way of doing it properly, see also <http://root.cern.ch/drupal/content/generating-reflex-dictionaries>.

Cheers, Axel. Received on Thu Jan 14 2010 - 10:06:54 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 14 2010 - 11:50:01 CET