Lines Matching refs:__lhs

2043    *  @param __lhs  First string.
2045 * @return New string with value of @a __lhs followed by @a __rhs.
2050 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2055 * @param __lhs First string.
2057 * @return New string with value of @a __lhs followed by @a __rhs.
2062 operator+(const _CharT* __lhs,
2067 * @param __lhs First string.
2069 * @return New string with @a __lhs followed by @a __rhs.
2074 operator+(_CharT __lhs,
2079 * @param __lhs First string.
2081 * @return New string with @a __lhs followed by @a __rhs.
2086 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2091 * @param __lhs First string.
2093 * @return New string with @a __lhs followed by @a __rhs.
2098 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2104 * @param __lhs First string.
2106 * @return True if @a __lhs.compare(@a __rhs) == 0. False otherwise.
2111 operator==(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2113 { return __lhs.compare(__rhs) == 0; }
2119 std::allocator<_CharT>, _Base>& __lhs,
2122 { return (__lhs.size() == __rhs.size()
2123 && !std::char_traits<_CharT>::compare(__lhs.data(), __rhs.data(),
2124 __lhs.size())); }
2128 * @param __lhs C string.
2130 * @return True if @a __rhs.compare(@a __lhs) == 0. False otherwise.
2135 operator==(const _CharT* __lhs,
2137 { return __rhs.compare(__lhs) == 0; }
2141 * @param __lhs String.
2143 * @return True if @a __lhs.compare(@a __rhs) == 0. False otherwise.
2148 operator==(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2150 { return __lhs.compare(__rhs) == 0; }
2155 * @param __lhs First string.
2157 * @return True if @a __lhs.compare(@a __rhs) != 0. False otherwise.
2162 operator!=(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2164 { return !(__lhs == __rhs); }
2168 * @param __lhs C string.
2170 * @return True if @a __rhs.compare(@a __lhs) != 0. False otherwise.
2175 operator!=(const _CharT* __lhs,
2177 { return !(__lhs == __rhs); }
2181 * @param __lhs String.
2183 * @return True if @a __lhs.compare(@a __rhs) != 0. False otherwise.
2188 operator!=(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2190 { return !(__lhs == __rhs); }
2195 * @param __lhs First string.
2197 * @return True if @a __lhs precedes @a __rhs. False otherwise.
2202 operator<(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2204 { return __lhs.compare(__rhs) < 0; }
2208 * @param __lhs String.
2210 * @return True if @a __lhs precedes @a __rhs. False otherwise.
2215 operator<(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2217 { return __lhs.compare(__rhs) < 0; }
2221 * @param __lhs C string.
2223 * @return True if @a __lhs precedes @a __rhs. False otherwise.
2228 operator<(const _CharT* __lhs,
2230 { return __rhs.compare(__lhs) > 0; }
2235 * @param __lhs First string.
2237 * @return True if @a __lhs follows @a __rhs. False otherwise.
2242 operator>(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2244 { return __lhs.compare(__rhs) > 0; }
2248 * @param __lhs String.
2250 * @return True if @a __lhs follows @a __rhs. False otherwise.
2255 operator>(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2257 { return __lhs.compare(__rhs) > 0; }
2261 * @param __lhs C string.
2263 * @return True if @a __lhs follows @a __rhs. False otherwise.
2268 operator>(const _CharT* __lhs,
2270 { return __rhs.compare(__lhs) < 0; }
2275 * @param __lhs First string.
2277 * @return True if @a __lhs doesn't follow @a __rhs. False otherwise.
2282 operator<=(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2284 { return __lhs.compare(__rhs) <= 0; }
2288 * @param __lhs String.
2290 * @return True if @a __lhs doesn't follow @a __rhs. False otherwise.
2295 operator<=(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2297 { return __lhs.compare(__rhs) <= 0; }
2301 * @param __lhs C string.
2303 * @return True if @a __lhs doesn't follow @a __rhs. False otherwise.
2308 operator<=(const _CharT* __lhs,
2310 { return __rhs.compare(__lhs) >= 0; }
2315 * @param __lhs First string.
2317 * @return True if @a __lhs doesn't precede @a __rhs. False otherwise.
2322 operator>=(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2324 { return __lhs.compare(__rhs) >= 0; }
2328 * @param __lhs String.
2330 * @return True if @a __lhs doesn't precede @a __rhs. False otherwise.
2335 operator>=(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2337 { return __lhs.compare(__rhs) >= 0; }
2341 * @param __lhs C string.
2343 * @return True if @a __lhs doesn't precede @a __rhs. False otherwise.
2348 operator>=(const _CharT* __lhs,
2350 { return __rhs.compare(__lhs) <= 0; }
2354 * @param __lhs First string.
2357 * Exchanges the contents of @a __lhs and @a __rhs in constant time.
2362 swap(__versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs,
2364 { __lhs.swap(__rhs); }