Ticket #6594: basic_cstring.hpp.patch
File basic_cstring.hpp.patch, 1.4 KB (added by , 11 years ago) |
---|
-
boost/test/utils/basic_cstring/basic_cstring.hpp
old new 91 91 self_type& trim_left( size_type trim_size ); 92 92 self_type& trim_right( iterator it ); 93 93 self_type& trim_left( iterator it ); 94 #if ndef __IBMCPP__94 #if !BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(800)) 95 95 self_type& trim_left( self_type exclusions = self_type() ) ; 96 96 self_type& trim_right( self_type exclusions = self_type() ) ; 97 97 self_type& trim( self_type exclusions = self_type() ) ; 98 98 #else 99 // V isualAge version 6has in this case a problem with the default arguments.99 // VA C++/XL C++ v6 and v8 has in this case a problem with the default arguments. 100 100 self_type& trim_left( self_type exclusions ) ; 101 101 self_type& trim_right( self_type exclusions ) ; 102 102 self_type& trim( self_type exclusions ) ; 103 self_type& trim_left() { trim_left( self_type() ) ; }104 self_type& trim_right() { trim_right( self_type() ) ; }105 self_type& trim() { trim( self_type() ) ; }103 self_type& trim_left() { return trim_left( self_type() ) ; } 104 self_type& trim_right() { return trim_right( self_type() ) ; } 105 self_type& trim() { return trim( self_type() ) ; } 106 106 #endif 107 107 108 108 // Assignment operators