• Home
  • Raw
  • Download

Lines Matching refs:ImmutableString

224 class ImmutableString {
237 ImmutableString() : len(0), base("") {} in ImmutableString() function
238 ImmutableString(const char *s, size_t slen) in ImmutableString() function
240 explicit ImmutableString(const char *s) in ImmutableString() function
242 explicit ImmutableString(const std::string &s) in ImmutableString() function
245 ImmutableString(InputIt first, InputIt last) in ImmutableString() function
247 ImmutableString(const ImmutableString &other) in ImmutableString() function
249 ImmutableString(ImmutableString &&other) noexcept in ImmutableString() function
251 ~ImmutableString() { in ~ImmutableString()
257 ImmutableString &operator=(const ImmutableString &other) {
268 ImmutableString &operator=(ImmutableString &&other) noexcept {
280 template <size_t N> static ImmutableString from_lit(const char (&s)[N]) { in from_lit()
281 return ImmutableString(s, N - 1); in from_lit()
319 inline bool operator==(const ImmutableString &lhs, const ImmutableString &rhs) {
324 inline bool operator==(const ImmutableString &lhs, const std::string &rhs) {
329 inline bool operator==(const std::string &lhs, const ImmutableString &rhs) {
333 inline bool operator==(const ImmutableString &lhs, const char *rhs) {
338 inline bool operator==(const char *lhs, const ImmutableString &rhs) {
342 inline bool operator!=(const ImmutableString &lhs, const ImmutableString &rhs) {
346 inline bool operator!=(const ImmutableString &lhs, const std::string &rhs) {
350 inline bool operator!=(const std::string &lhs, const ImmutableString &rhs) {
354 inline bool operator!=(const ImmutableString &lhs, const char *rhs) {
358 inline bool operator!=(const char *lhs, const ImmutableString &rhs) {
362 inline std::ostream &operator<<(std::ostream &o, const ImmutableString &s) {
366 inline std::string &operator+=(std::string &lhs, const ImmutableString &rhs) {
391 explicit StringRef(const ImmutableString &s) in StringRef()
470 inline bool operator==(const StringRef &lhs, const ImmutableString &rhs) {
475 inline bool operator==(const ImmutableString &lhs, const StringRef &rhs) {