openMSX
Functions
string_ref.cc File Reference
#include "string_ref.hh"
#include "likely.hh"
#include <algorithm>
#include <iostream>
#include <cstdlib>
#include <stdexcept>
Include dependency graph for string_ref.cc:

Go to the source code of this file.

Functions

bool operator< (string_ref x, string_ref y)
 
unsigned fast_stou (string_ref s)
 
string operator+ (string_ref x, string_ref y)
 
std::string operator+ (char x, string_ref y)
 
std::string operator+ (string_ref x, char y)
 
std::ostream & operator<< (std::ostream &os, string_ref s)
 

Function Documentation

◆ fast_stou()

unsigned fast_stou ( string_ref  s)

◆ operator+() [1/3]

string operator+ ( string_ref  x,
string_ref  y 
)

Definition at line 162 of file string_ref.cc.

Referenced by operator>=().

◆ operator+() [2/3]

std::string operator+ ( char  x,
string_ref  y 
)

Definition at line 170 of file string_ref.cc.

◆ operator+() [3/3]

std::string operator+ ( string_ref  x,
char  y 
)

Definition at line 178 of file string_ref.cc.

◆ operator<()

bool operator< ( string_ref  x,
string_ref  y 
)

Definition at line 138 of file string_ref.cc.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
string_ref  s 
)

Definition at line 188 of file string_ref.cc.

References string_ref::data(), and string_ref::size().

Referenced by operator>=().