Project

General

Profile

Actions

Task #4336

closed

Make container APIs more consisent with C++ standard practices.

Added by Nicholas Gordon over 6 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/12/2017
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)

Description

All STL containers in the standard C++ libararies follow the same naming convention. Many containers defined in NLSR do not, which makes them unintuitive to use. Specifically, many containers implement a getSize() method, but not size(), where the latter is the C++ standard convention.

These containers should have APIs more closely resembling STL containers.


Subtasks 1 (0 open1 closed)

Task #4337: Change all containers to implement `size()`ClosedRyan Wickman10/12/2017

Actions
Actions #1

Updated by Nicholas Gordon over 6 years ago

  • Status changed from New to Code review
  • Assignee set to Nicholas Gordon
Actions #2

Updated by Nicholas Gordon over 6 years ago

  • Status changed from Code review to In Progress
Actions #3

Updated by Nicholas Gordon almost 6 years ago

  • Status changed from In Progress to New
  • Assignee deleted (Nicholas Gordon)
Actions #4

Updated by Junxiao Shi 3 months ago

  • Status changed from New to Closed

This issue does not describe which containers are to be changed.
I do not find any container that has a .getSize() method, hence this is deemed completed.

Actions

Also available in: Atom PDF