12 #ifndef __JSONV_STRING_VIEW_HPP_INCLUDED__ 13 #define __JSONV_STRING_VIEW_HPP_INCLUDED__ 30 #ifndef JSONV_STRING_VIEW_TYPE 31 # if defined(JSONV_STRING_VIEW_USE_STD) && JSONV_STRING_VIEW_USE_STD 32 # define JSONV_STRING_VIEW_TYPE std::string_view 33 # define JSONV_STRING_VIEW_INCLUDE <string_view> 34 # elif defined(JSONV_STRING_VIEW_USE_BOOST) && JSONV_STRING_VIEW_USE_BOOST 35 # define JSONV_STRING_VIEW_TYPE boost::string_ref 36 # define JSONV_STRING_VIEW_INCLUDE <boost/utility/string_ref.hpp> 38 # define JSONV_STRING_VIEW_TYPE jsonv::detail::string_view 39 # define JSONV_STRING_VIEW_INCLUDE <jsonv/detail/string_view.hpp> 43 #include JSONV_STRING_VIEW_INCLUDE Copyright (c) 2014-2019 by Travis Gockel.
#define JSONV_STRING_VIEW_TYPE
The type to use for jsonv::string_view.
JSONV_STRING_VIEW_TYPE string_view
A non-owning reference to a string.