return string_equal_n( s , suffix, string_length( suffix ) );
}
+inline bool string_equal_suffix_nocase( const char* string, const char* suffix){
+ const char *s = string + string_length( string ) - string_length( suffix );
+ return string_equal_nocase_n( s , suffix, string_length( suffix ) );
+}
+
/// \brief Copies \p other into \p string and returns \p string.
/// Assumes that the space allocated for \p string is at least string_length(other) + 1.
/// O(n)
: Buffer( range ){
}
+ String(const String&) = default;
+
String& operator=( const String& other ){
String temp( other );
temp.swap( *this );