RE:d0cint file not parseable by rootcint

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Tue Feb 16 1999 - 12:05:17 MET


Philippe,

I agree with Scott. Having long long name for instantiated template is a
severe problem. And even if this problem is cleared, I can not guarantee
complex template programming.  It is safer to hide the template part from
CINT.

Masaharu Goto

---------------------------------------------------------------------
Hi,

The file below contains a file that is parseable by d0cint
v0513-82-01 but not by rootcint v2.21.05 (Cint 5.13.88).

I tryed this on IRIX.  In both case I get a Segmentation 
fault from rootcint.  The case where  USE_COMPLETE_FILE_FROM_D0CINT
is not defined is a stripped down version that still present
the core dump, I know it should not compile but the full version
(which should) also fails;  removing anything for this example
make it parseable by rootcint.

Do you have any idea on why this is happening ?

Philippe Canal, pcanal@fnal.gov, 630-840-2545.

#ifndef USE_COMPLETE_FILE_FROM_D0CINT

// subclause _lib.predef.iterators_, predefined iterators:
template <class Iterator>
class reverse_iterator
 : public iterator<iterator_traits<Iterator>::iterator_category,
                   iterator_traits<Iterator>::value_type,
                   iterator_traits<Iterator>::difference_type,
                   iterator_traits<Iterator>::pointer,
                   iterator_traits<Iterator>::reference>
{
};

template <class T>
class vector
{
public:

  typedef reverse_iterator<vector::iterator>       reverse_iterator;

};

#else

#include <vector>

#endif 


vector<int> _fitActionSet;



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET