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

Pulls in an implementation of string_view. More...

#include <jsonv/config.hpp>

Go to the source code of this file.

Macros

#define JSONV_STRING_VIEW_TYPE   jsonv::detail::string_view
 The type to use for jsonv::string_view. More...
 
#define JSONV_STRING_VIEW_INCLUDE   <jsonv/detail/string_view.hpp>
 The file to include to get the implementation for string_view. More...
 

Typedefs

using jsonv::string_view = JSONV_STRING_VIEW_TYPE
 A non-owning reference to a string. More...
 

Detailed Description

Pulls in an implementation of string_view.

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.

Macro Definition Documentation

#define JSONV_STRING_VIEW_INCLUDE   <jsonv/detail/string_view.hpp>

The file to include to get the implementation for string_view.

If you define JSONV_STRING_VIEW_TYPE, you must also define this.

Definition at line 39 of file string_view.hpp.

#define JSONV_STRING_VIEW_TYPE   jsonv::detail::string_view

The type to use for jsonv::string_view.

By default, this is jsonv::detail::string_view.

Definition at line 38 of file string_view.hpp.

Typedef Documentation

A non-owning reference to a string.

See also
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html

Definition at line 52 of file string_view.hpp.