ext-boost/boost/url/string_view.hpp
2023-05-22 18:45:02 +10:00

35 lines
885 B
C++

//
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/url
//
#ifndef BOOST_URL_STRING_VIEW_HPP
#define BOOST_URL_STRING_VIEW_HPP
#include <boost/url/detail/config.hpp>
#include <boost/url/detail/string_view.hpp>
namespace boost {
namespace urls {
/** The type of string_view used by the library
String views are used to pass character
buffers into or out of functions. Ownership
of the underlying character buffer is not
transferred; the caller is responsible for
ensuring that the lifetime of character
buffer extends until it is no longer
referenced.
*/
typedef boost::core::string_view string_view;
} // urls
} // boost
#endif