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

Go to the source code of this file.

Functions

bool operator== (string_ref x, string_ref y)
bool operator< (string_ref x, string_ref y)
int stoi (string_ref str, string_ref::size_type *idx, int base)
unsigned long stoul (string_ref str, string_ref::size_type *idx, int base)
long long stoll (string_ref str, string_ref::size_type *idx, int base)
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 str)

Function Documentation

string operator+ ( string_ref  x,
string_ref  y 
)

Definition at line 195 of file string_ref.cc.

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

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

Definition at line 203 of file string_ref.cc.

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

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

Definition at line 211 of file string_ref.cc.

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

bool operator< ( string_ref  x,
string_ref  y 
)

Definition at line 156 of file string_ref.cc.

References string_ref::compare().

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

Definition at line 221 of file string_ref.cc.

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

bool operator== ( string_ref  x,
string_ref  y 
)

Definition at line 150 of file string_ref.cc.

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

int stoi ( string_ref  str,
string_ref::size_type idx,
int  base 
)
long long stoll ( string_ref  str,
string_ref::size_type idx,
int  base 
)

Definition at line 182 of file string_ref.cc.

References string_ref::str().

unsigned long stoul ( string_ref  str,
string_ref::size_type idx,
int  base 
)

Definition at line 173 of file string_ref.cc.

References string_ref::str().