basic_string::compare

Juergen Hermann j.her@t-online.de
Thu Jul 22 12:20:00 GMT 1999


Hi!

Is it possible that the compare() prototypes are severely broken? From
my sources they should be like this

    int compare(size_type p0, size_type n0, const basic_string& str);

while in the lib distributed with the current egcs they are like

    int compare(const basic_string& str, size_type p0, size_type n0);  
 

(shifted parameter). Any comments?    
--
Juergen Hermann, Karlsruhe, Germany




More information about the Libstdc++ mailing list