The Battle for Wesnoth  1.15.2+dev
Classes | Namespaces | Macros | Typedefs | Functions
string_view.hpp File Reference
#include <boost/version.hpp>
#include <cstdint>
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/throw_exception.hpp>
#include <cstddef>
#include <stdexcept>
#include <algorithm>
#include <iterator>
#include <string>
#include <cstring>
#include <iosfwd>
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  utils::detail::string_view_traits_eq< charT, traits >
 
class  utils::basic_string_view< charT, traits >
 
class  utils::basic_string_view< charT, traits >
 

Namespaces

 utils
 
 utils::detail
 

Macros

#define BOOST_CXX14_CONSTEXPR
 

Typedefs

typedef basic_string_view< char, std::char_traits< char > > utils::string_view
 
typedef basic_string_view< uint8_t, std::char_traits< uint8_t > > utils::byte_string_view
 
typedef basic_string_view< wchar_t, std::char_traits< wchar_t > > utils::wstring_view
 
typedef basic_string_view< char16_t, std::char_traits< char16_t > > utils::u16string_view
 
typedef basic_string_view< char32_t, std::char_traits< char32_t > > utils::u32string_view
 

Functions

template<typename charT , typename traits >
bool utils::operator== (basic_string_view< charT, traits > x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator!= (basic_string_view< charT, traits > x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator< (basic_string_view< charT, traits > x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator> (basic_string_view< charT, traits > x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator<= (basic_string_view< charT, traits > x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator>= (basic_string_view< charT, traits > x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator== (basic_string_view< charT, traits > x, const std::basic_string< charT, traits, Allocator > &y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator== (const std::basic_string< charT, traits, Allocator > &x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator== (basic_string_view< charT, traits > x, const charT *y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator== (const charT *x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator!= (basic_string_view< charT, traits > x, const std::basic_string< charT, traits, Allocator > &y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator!= (const std::basic_string< charT, traits, Allocator > &x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator!= (basic_string_view< charT, traits > x, const charT *y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator!= (const charT *x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator< (basic_string_view< charT, traits > x, const std::basic_string< charT, traits, Allocator > &y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator< (const std::basic_string< charT, traits, Allocator > &x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator< (basic_string_view< charT, traits > x, const charT *y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator< (const charT *x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator> (basic_string_view< charT, traits > x, const std::basic_string< charT, traits, Allocator > &y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator> (const std::basic_string< charT, traits, Allocator > &x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator> (basic_string_view< charT, traits > x, const charT *y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator> (const charT *x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator<= (basic_string_view< charT, traits > x, const std::basic_string< charT, traits, Allocator > &y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator<= (const std::basic_string< charT, traits, Allocator > &x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator<= (basic_string_view< charT, traits > x, const charT *y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator<= (const charT *x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator>= (basic_string_view< charT, traits > x, const std::basic_string< charT, traits, Allocator > &y) BOOST_NOEXCEPT
 
template<typename charT , typename traits , typename Allocator >
bool utils::operator>= (const std::basic_string< charT, traits, Allocator > &x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator>= (basic_string_view< charT, traits > x, const charT *y) BOOST_NOEXCEPT
 
template<typename charT , typename traits >
bool utils::operator>= (const charT *x, basic_string_view< charT, traits > y) BOOST_NOEXCEPT
 
template<class charT , class traits >
void utils::detail::sv_insert_fill_chars (std::basic_ostream< charT, traits > &os, std::size_t n)
 
template<class charT , class traits >
void utils::detail::sv_insert_aligned (std::basic_ostream< charT, traits > &os, const basic_string_view< charT, traits > &str)
 
template<class charT , class traits >
std::basic_ostream< charT, traits > & utils::operator<< (std::basic_ostream< charT, traits > &os, const basic_string_view< charT, traits > &str)
 

Macro Definition Documentation

◆ BOOST_CXX14_CONSTEXPR

#define BOOST_CXX14_CONSTEXPR

Definition at line 50 of file string_view.hpp.