Anonymous | Login | Signup for a new account | 11-10-2008 10:46 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000320 | [uClibc++] Other | minor | always | 07-03-05 12:02 | 08-02-05 20:13 | ||||
Reporter | tommi | View Status | public | ||||||
Assigned To | gkajmowi | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 0.1.11 | ||||||
Summary | 0000320: ambiguous basic_string::compare variants | ||||||||
Description |
These methods are not ambiguous if called with 3 parameters: int compare(size_type pos1, size_type n1, const basic_string& str) const; int compare(size_type pos1, size_type n1, const basic_string& str, size_type pos2=0, size_type n2=npos) const; I think the default values are not allowed. I have no c++-standard here, but I can find in sgi-stl-documentation these variants: int compare(size_type pos, size_type n, const basic_string& s) const; int compare(size_type pos, size_type n, const basic_string& s, size_type pos1, size_type n1) const; no default values at all. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Copyright © 2000 - 2006 Mantis Group |