Lolly 1.4.27
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
string_view.hpp File Reference
#include "classdef.hpp"
#include "fast_alloc.hpp"
#include "minmax.hpp"
#include <string>
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

class  lolly::data::string_view< T >
 

Namespaces

namespace  lolly
 
namespace  lolly::data
 

Functions

template<typename T >
bool lolly::data::operator== (const string_view< T > &a, const string_view< T > &b)
 
template<typename T , size_t Na>
bool lolly::data::operator== (const T(&a)[Na], const string_view< T > &b)
 
template<typename T , size_t Nb>
bool lolly::data::operator== (const string_view< T > &a, const T(&b)[Nb])
 
template<typename T >
bool lolly::data::operator!= (const string_view< T > &a, const string_view< T > &b)
 
template<typename T , size_t Nb>
bool lolly::data::operator!= (const string_view< T > &a, const T(&b)[Nb])
 
template<typename T , size_t Na>
bool lolly::data::operator!= (const T(&a)[Na], const string_view< T > &b)
 
template<typename T >
bool lolly::data::operator< (const string_view< T > &a, const string_view< T > &b)
 
template<typename T , size_t Nb>
bool lolly::data::operator< (const string_view< T > &a, const T(&b)[Nb])
 
template<typename T , size_t Na>
bool lolly::data::operator< (const T(&a)[Na], const string_view< T > &b)
 
template<typename T >
bool lolly::data::operator<= (const string_view< T > &a, const string_view< T > &b)
 
template<typename T , size_t Nb>
bool lolly::data::operator<= (const string_view< T > &a, const T(&b)[Nb])
 
template<typename T , size_t Na>
bool lolly::data::operator<= (const T(&a)[Na], const string_view< T > &b)
 

Detailed Description

Strings with different type of char, and corresponding readonly view of string. Zero-characters are allowed in strings.

Author
jingkaimori
Date
2024

Definition in file string_view.hpp.