From: Philippe E. <ph...@us...> - 2003-05-18 14:48:42
|
Update of /cvsroot/oprofile/oprofile/libregex In directory sc8-pr-cvs1:/tmp/cvs-serv18696 Modified Files: Tag: pp-interface-branch stl.pat.in Log Message: add list<T>::{const_}+iterator Index: stl.pat.in =================================================================== RCS file: /cvsroot/oprofile/oprofile/libregex/stl.pat.in,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -p -d -r1.1 -r1.1.2.1 --- stl.pat.in 23 Mar 2003 19:51:09 -0000 1.1 +++ stl.pat.in 18 May 2003 14:48:38 -0000 1.1.2.1 @@ -109,6 +109,12 @@ $typename = "(${typename}[ ]*\**|unsigne "\<__gnu_cxx::__normal_iterator<${typename} const\*, vector<\1>>" = "vector<\1>::const_iterator" "\<__gnu_cxx::__normal_iterator<${typename}\*, vector<\1>>" = "vector<\1>::iterator" +# 2.95 use only _List_iterator, 3.2 use also _List_iterator_base but since +# list::iterator is a typedef to _List_iterator we don't need to deal with +# _List_iterator_base +"\<_List_iterator<${typename}, \1[ ]* &, \1[ ]*\*>" = "list<\1>::iterator" +"\<_List_iterator<${typename}, \1 const[ ]*&, \1 const[ ]*\*>" = "list<\1>::const_iterator" + # iosfwd, std::string and std::wstring # first translate from "basic_xxx<T, char_traits<T>>" to "basic_xxx<T>" "\<([io]streambuf_iterator|basic_(ios|streambuf|([io]|io)stream|filebuf|[io]?fstream))<${typename}, char_traits<\4>>" = "\1<\4>" |