Zserio C++ runtime library  1.2.0
Built for Zserio 2.16.0
StringView.h File Reference
#include <algorithm>
#include <cstddef>
#include <limits>
#include <memory>
#include <utility>
#include "zserio/CppRuntimeException.h"
#include "zserio/RebindAlloc.h"
#include "zserio/String.h"
#include "zserio/StringConvertUtil.h"

Go to the source code of this file.

Classes

class  zserio::BasicStringView< CharT, Traits >
 

Namespaces

 zserio
 
 zserio::literals
 

Typedefs

using zserio::StringView = BasicStringView< char, std::char_traits< char > >
 

Functions

template<typename CharT , class Traits >
constexpr bool zserio::operator== (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept
 
template<typename CharT , class Traits >
constexpr bool zserio::operator!= (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept
 
template<typename CharT , class Traits >
constexpr bool zserio::operator< (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept
 
template<typename CharT , class Traits >
constexpr bool zserio::operator<= (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept
 
template<typename CharT , class Traits >
constexpr bool zserio::operator> (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept
 
template<typename CharT , class Traits >
constexpr bool zserio::operator>= (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept
 
template<typename CharT , size_t N>
constexpr BasicStringView< CharT > zserio::makeStringView (const CharT(&str)[N])
 
template<typename CharT , typename Traits , typename ALLOC = std::allocator<char>>
std::basic_string< CharT, Traits, RebindAlloc< ALLOC, CharT > > zserio::stringViewToString (BasicStringView< CharT, Traits > stringView, const ALLOC &allocator=ALLOC())
 
template<typename CharT , typename Traits , typename ALLOC = std::allocator<char>>
std::basic_string< CharT, Traits, ALLOC > & zserio::operator+= (std::basic_string< CharT, Traits, ALLOC > &first, BasicStringView< CharT, Traits > second)
 
template<typename ALLOC >
string< ALLOC > zserio::toString (StringView value, const ALLOC &allocator=ALLOC())
 
CppRuntimeException & zserio::operator<< (CppRuntimeException &exception, StringView view)
 
constexpr ::zserio::StringView zserio::literals::operator""_sv (const char *str, std::size_t len) noexcept