aboutsummaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/list.h b/src/list.h
index 530d858..8c5e94e 100644
--- a/src/list.h
+++ b/src/list.h
@@ -490,9 +490,19 @@ namespace Bu
490 * the list. 490 * the list.
491 *@returns (const Link *) 491 *@returns (const Link *)
492 */ 492 */
493 const Link *end() const 493 const iterator end()
494 { 494 {
495 return NULL; 495 return iterator( NULL, *this );
496 }
497
498 /**
499 * Get an iterator pointing to a place just past the last item in
500 * the list.
501 *@returns (const Link *)
502 */
503 const const_iterator end() const
504 {
505 return const_iterator( NULL, *this );
496 } 506 }
497 507
498 /** 508 /**