Project

General

Profile

Actions

Task #3738

closed

Simplify FIB/StrategyChoice iterators with Boost.Range

Added by Junxiao Shi over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tables
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Fib::const_iterator StrategyChoice::const_iterator are adaptors of name_tree::Iterator.
They can be simplified with boost::adaptors::transform.


Related issues 1 (0 open1 closed)

Related to NFD - Task #3164: Reduce usage of shared_ptr in FIB/PIT/StrategyChoice/MeasurementsClosedJunxiao Shi

Actions
Actions #1

Updated by Junxiao Shi over 8 years ago

  • Related to Task #3164: Reduce usage of shared_ptr in FIB/PIT/StrategyChoice/Measurements added
Actions #2

Updated by Junxiao Shi over 8 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Junxiao Shi over 8 years ago

  • % Done changed from 0 to 50

https://gerrit.named-data.net/3075 declares name_tree::Range as the return type of NameTree::fullEnumerate instead of "an unspecified type".

https://gerrit.named-data.net/3076 implements FIB iterator with boost::adaptors::transform.

Actions #4

Updated by Junxiao Shi over 8 years ago

  • Subject changed from Simplify FIB/Measurements/StrategyChoice iterators with Boost.Range to Simplify FIB/StrategyChoice iterators with Boost.Range
  • Description updated (diff)
  • Status changed from In Progress to Code review
  • % Done changed from 50 to 100

https://gerrit.named-data.net/3086 implements StrategyChoice iterator with boost::adaptors::transform.

Measurements table does not have enumeration feature so I delete that part from this issue.

Actions #5

Updated by Junxiao Shi over 8 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF