Project

General

Profile

Feature #2090

Updated by Junxiao Shi about 10 years ago

This task is to match `Name::compare` with `std::string::compare` (for partial name comparison): 

     int compare( size_type pos1, size_type count1, 
                  const Name& name2 str ) const; 
    
     int compare( size_type pos1, size_type count1, 
                  const Name& name2, str, 
                  size_type pos2, size_type count2 = npos ) const; 

 Something similar should be done within `name::Component` too.

Back