Thrill  0.1
string_view.hpp File Reference
#include <algorithm>
#include <ostream>
#include <string>
#include <tlx/string/hash_djb2.hpp>
+ Include dependency graph for string_view.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hash< tlx::StringView >
 
class  StringView
 StringView is a reference to a part of a string, consisting of only a char pointer and a length. More...
 

Namespaces

 tlx
 

Typedefs

using string_view = StringView
 make alias due to STL similarity More...
 

Functions

static bool operator!= (const std::string &a, const StringView &b) noexcept
 Inequality operator to compare a std::string with a StringView. More...
 
static bool operator< (const std::string &a, const StringView &b) noexcept
 Less operator to compare a std::string with a StringView lexicographically. More...
 
static bool operator== (const std::string &a, const StringView &b) noexcept
 Equality operator to compare a std::string with a StringView. More...