Project

General

Profile

Actions

Task #4331

closed

Improve constness and implementation of AdjacencyList::operator==

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

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

0%

Estimated time:

Description

AdjacencyList::operator== is not marked as const. This is not idiomatic, and should be corrected. It should be done in a way that leaves the parameters unmodified.

One possibility is to sort a container of pointers to the original elements, to keep memory usage low and to prevent modifying the original containers.

Actions #1

Updated by Nicholas Gordon over 6 years ago

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

Updated by Nicholas Gordon over 6 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF