home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 32,510 of 33,346   
   Leigh Johnston to All   
   C++ tree container   
   07 Aug 12 16:10:32   
   
   From: leigh@i42.co.uk   
      
   Hi,   
      
   I present a free to use/modify C++ "tree" container that is so named   
   because it can represent a general hierarchical collection of elements   
   using a tree-like structure.  Examples of things which use such general   
   tree-like structures include file systems, XML elements in an XML   
   document or the items in a GUI tree control or menu. The C++ Standard   
   Library includes containers which use a binary (2-ary) search tree as   
   their underlying data structure (std::set, std::multiset, std::map and   
   std::multimap) but their interfaces are designed for accessing the   
   elements as an ordered sequence of elements with no hierarchy and do not   
   provide direct access to the underlying tree data structure; tree on the   
   other hand provides an interface for accessing the (non-fixed-ary) tree   
   directly allowing siblings to be iterated, parent elements to be   
   determined etc.   
      
   http://i42.co.uk/stuff/tree.htm   
      
   /Leigh   
      
      
   --   
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca