Project

General

Profile

Actions

Feature #1015

closed
BN KD

dbo::collection::Iterator: add method get()

Feature #1015: dbo::collection::Iterator: add method get()

Added by Boris Nagaev almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
10/06/2011
Due date:
% Done:

0%

Estimated time:

Description

Hello!

Sometimes first (or any) element of a collection is needed.
We are to write *(collection.begin()).
Could you add method get() to iterator and const_iterator, or method first() to collection?

BR

KD Updated by Koen Deforche almost 15 years ago Actions #1

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.2.0

Hey,

I added a front() method, like std::vector/list.

Regards,
koen

KD Updated by Koen Deforche almost 15 years ago Actions #2

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom