Project

General

Profile

Feature #2251

Updated by Alex Afanasyev over 9 years ago

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; 

 NameComponent.

Back