id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6540,Erroneous default argument in basic_string::compare overload,Erik Jensen ,Ion Gaztañaga,"basic_string in string.hpp contains the following definition: {{{ int compare(size_type pos1, size_type n1, const CharT* s, size_type n2 = npos) const {...} }}} However, n2 should not have a default argument. It interferes with calling ""int compare(size_type pos1, size_type n1, const CharT* s) const"", and a value of npos makes no sense for n2 anyway (it would mean the passed c string had ""infinite"" length). Thank you, Erik Jensen",Bugs,closed,To Be Determined,container,Boost 1.49.0,Problem,fixed,,