last element of list

From: xerix (xerix_at_bla.nl)
Date: 04/10/04


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?