|
openMSX
|
#include <string>#include <iterator>#include <iosfwd>#include <cassert>#include <cstring>

Go to the source code of this file.
Classes | |
| class | string_ref |
| This class implements a subset of the proposal for std::string_ref (proposed for the next c++ standard (c++1y)). More... | |
Functions | |
| bool | operator== (string_ref x, string_ref y) |
| bool | operator< (string_ref x, string_ref y) |
| bool | operator!= (string_ref x, string_ref y) |
| bool | operator> (string_ref x, string_ref y) |
| 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=nullptr, int base=0) |
| unsigned long | stoul (string_ref str, string_ref::size_type *idx=nullptr, int base=0) |
| long long | stoll (string_ref str, string_ref::size_type *idx=nullptr, int base=0) |
| std::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) |
|
inline |
Definition at line 111 of file string_ref.hh.
| std::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().
|
inline |
Definition at line 113 of file string_ref.hh.
| 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().
|
inline |
Definition at line 112 of file string_ref.hh.
|
inline |
Definition at line 114 of file string_ref.hh.
| int stoi | ( | string_ref | str, |
| string_ref::size_type * | idx = nullptr, |
||
| int | base = 0 |
||
| ) |
Definition at line 164 of file string_ref.cc.
References string_ref::str().
Referenced by openmsx::CartridgeSlotManager::getSlotNum(), and openmsx::DBParser::text().
| long long stoll | ( | string_ref | str, |
| string_ref::size_type * | idx = nullptr, |
||
| int | base = 0 |
||
| ) |
Definition at line 182 of file string_ref.cc.
References string_ref::str().
| unsigned long stoul | ( | string_ref | str, |
| string_ref::size_type * | idx = nullptr, |
||
| int | base = 0 |
||
| ) |
Definition at line 173 of file string_ref.cc.
References string_ref::str().
1.8.1.2