Project

General

Profile

Actions

Feature #3361

open

FIB/PIT/CS/Measurements: erase by iterator

Added by Alex Afanasyev over 8 years ago. Updated over 7 years ago.

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

0%

Estimated time:
6.00 h

Description

In FIB/PIT/CS/Measurements tables, allow erasing an entry by const_iterator.

Suggested by Natalya Rozhnova on ndnsim mailing list.

Effectively, the existing API allows iteration over the table, but an iterator cannot be directly used to remove entries.
There are workarounds, but we need to provide a clean API for this operation.


Related issues 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF