Project

General

Profile

Actions

Feature #1015

closed

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

Added by Boris Nagaev about 13 years ago. Updated about 13 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

Actions #1

Updated by Koen Deforche about 13 years ago

  • 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

Actions #2

Updated by Koen Deforche about 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF