last element of list
From: xerix (xerix_at_bla.nl)
Date: 04/10/04
- Next message: Daniel T.: "Re: can string be a substitute of char s[] or char* s ?"
- Previous message: San: "Re: Trouble with constructor"
- Next in thread: Arne Adams: "Re: last element of list"
- Reply: Arne Adams: "Re: last element of list"
- Reply: Sander: "Re: last element of list"
- Reply: Nick Hounsome: "Re: last element of list"
- Reply: John Harrison: "Re: last element of list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 10 Apr 2004 16:24:16 +0200
I'm trying to make a function which insert an object into a list and returns
an iterator to the new element in the list. But as far as I know there is no
function which returns an iterator to the last element of a list. (.end()
returns an iterator one item past the end of the list) How could I solve
this?
- Next message: Daniel T.: "Re: can string be a substitute of char s[] or char* s ?"
- Previous message: San: "Re: Trouble with constructor"
- Next in thread: Arne Adams: "Re: last element of list"
- Reply: Arne Adams: "Re: last element of list"
- Reply: Sander: "Re: last element of list"
- Reply: Nick Hounsome: "Re: last element of list"
- Reply: John Harrison: "Re: last element of list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]