I downloaded the code and attempted to compile it (VC6, Oct2001SDK). I get this kind of compile error:
c:\projects\pug\pugxml.h(1816) : error C2977: '_Ranit' : too many template arguments
c:\program files\microsoft visual studio\vc98\include\utility(77) : see declaration of '_Ranit'
c:\projects\pug\pugxml.h(1844) : see reference to class template instantiation 'pug::xml_iterator<_Ty,_Diff,_Pointer,_Reference>' being compiled
Also, the article makes mention of CPugXmlBranch and lots of wonderful methods to use. However, I can't find this class or anything even with with word 'branch' in it.
#if _MSC_VER < 1300
class xml_iterator : public std::_Ranit<_Ty,_D>
class xml_iterator : public std::_Ranit<_Ty,_Diff,_Pointer,_Reference>
class xml_iterator : public std::random_access_iterator_tag
Int the pugxml.h, the class name are "STL like" named. I think you find what you need in xml_node class.
Now that I read the pugxml.xml file that was supplied, I see that Kristen noted that the MS way of naming (Hungarian notation, CamelCase) was abandoned. That's fine by me as I would also like to use this eventually in an embedded Linux app.
Last Visit: 31-Dec-99 19:00 Last Update: 1-Feb-15 9:28