I like Jason's linked list, but I also wish that a couple of its aspects were different. In particular, I wish that it was, by default, an "intrinsic" linked list: i.e., List<T> would use properties like T.next and T.prev. Also the interface needs an audit to make sure it follows the C++ standard library interface as much as possible. Perhaps I'll send more info on this soon...I had wanted to really think it through first.
Eddie Beyers Cronje wrote: > Hi Jason, > > Just to let you know been using your list class as well, it works > beautifully. I haven't picked up any issues with my use so far. > > Eddie, any chance you could include this or something simmilar in Click ? > > Regards > > Beyers Cronje > > On 1/29/07, *Jason Park* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > HI, > > > > Here I attach double linkedlist for click that Beyers mentioned. > > I was fixed trivially since I posted. > > It works well, but I don't know whether click has plan to include in it. > > > > Please put them into these locations. > > include/click/list.hh > > elements/test/listtest.hh > > elements/test/listtest.cc > > > > In addition to List, I'm working multi index container (memory db) for > click. If someone or click needs it, > > I'll post it. It's similar to the thing of Boost Multi-index > <http://www.boost.org/libs/multi_index/doc/index.html > <http://www.boost.org/libs/multi_index/doc/index.html>> Containers > Library > and including MPL like (THE BOOST MPL > <http://www.boost.org/libs/mpl/doc/index.html> LIBRARY) also. > > > > Bye. > > > > Jason Park. > > _____ > > From: Beyers Cronje [mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>] > Sent: Monday, January 29, 2007 4:28 AM > To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>; > Jason Park > Subject: Re: [Click] LinkedList in click > > > > Hi Roberto, > > See previous post by Jason. > https://amsterdam.lcs.mit.edu/pipermail/click/2006-October/005255.html > > I havent used his patch so it's maybe best if Jason comments directly. > > Beyers > > On 1/28/07, Roberto Riggio <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi, > > as in the subject, are there any plans to include a (double) > linkedlist in > click? > > Bye > Roberto > > -- > ======================================== > Roberto Riggio, Ph. D. Student > CREATE-NET > via Solteri 38 > 38100 -- Trento (Italy) > tel: +39.0461.82.85.84 > fax: +39.0461.42.11.57 > e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > web page: http://dit.unitn.it/~riggio/ > ======================================= > _______________________________________________ > click mailing list > click@amsterdam.lcs.mit.edu > <mailto:click@amsterdam.lcs.mit.edu> <mailto:click@amsterdam.lcs.mit.edu > <mailto:click@amsterdam.lcs.mit.edu>> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > > > > > _______________________________________________ > click mailing list > click@amsterdam.lcs.mit.edu <mailto:click@amsterdam.lcs.mit.edu> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > > > _______________________________________________ click mailing list click@amsterdam.lcs.mit.edu https://amsterdam.lcs.mit.edu/mailman/listinfo/click