JSON Voorhees
Killer JSON for C++
string_view.hpp File Reference

The JsonVoorhees implementation of string_view. More...

#include <jsonv/config.hpp>
#include <algorithm>
#include <cstddef>
#include <cstring>
#include <iterator>
#include <ostream>
#include <stdexcept>

Go to the source code of this file.

Classes

class  jsonv::detail::string_view
 A non-owning reference to an std::string, as proposed to the C++ Standard Committee by Jeffrey Yasskin in N3921 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html). More...
 

Functions

template<typename UAllocator >
bool jsonv::detail::operator== (const std::basic_string< UAllocator > lhs, const string_view &rhs)
 
template<typename UAllocator >
bool jsonv::detail::operator!= (const std::basic_string< UAllocator > lhs, const string_view &rhs)
 
template<typename UAllocator >
bool jsonv::detail::operator< (const std::basic_string< UAllocator > lhs, const string_view &rhs)
 
template<typename UAllocator >
bool jsonv::detail::operator<= (const std::basic_string< UAllocator > lhs, const string_view &rhs)
 
template<typename UAllocator >
bool jsonv::detail::operator> (const std::basic_string< UAllocator > lhs, const string_view &rhs)
 
template<typename UAllocator >
bool jsonv::detail::operator>= (const std::basic_string< UAllocator > lhs, const string_view &rhs)
 

Detailed Description

The JsonVoorhees implementation of string_view.

You should not include this directly; instead, prefer including jsonv/string_view.hpp and manipulating JSONV_STRING_REF_TYPE and JSONV_STRING_REF_INCLUDE.

Copyright (c) 2014 by Travis Gockel. All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.

Author
Travis Gockel (travi.nosp@m.s@go.nosp@m.ckelh.nosp@m.ut.c.nosp@m.om)

Definition in file string_view.hpp.