Project

General

Profile

Actions

Feature #2251

closed

Partial name::Component comparison

Added by Junxiao Shi over 9 years ago. Updated 7 months ago.

Status:
Abandoned
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
2.00 h

Description

Allow comparing a range of octets in a name::Component

The interface should contain the following methods (based on std::string::compare)

int compare(size_type pos1, size_type count1,
            const name::Component& name2) const;

int compare(size_type pos1, size_type count1,
            const name::Component& name2,
            size_type pos2, size_type count2 = npos) const;
Actions

Also available in: Atom PDF