Files
boost_beast/include/beast/core/string_view.hpp
T

26 lines
628 B
C++
Raw Normal View History

2017-05-05 14:45:15 -07:00
//
// Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot 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)
//
#ifndef BEAST_STRING_VIEW_HPP
#define BEAST_STRING_VIEW_HPP
#include <boost/utility/string_ref.hpp>
namespace beast {
2017-05-28 09:05:29 -07:00
/// The type of string view used by the library
2017-05-05 14:45:15 -07:00
using string_view = boost::string_ref;
2017-05-28 09:05:29 -07:00
/// The type of basic string view used by the library
2017-05-05 14:45:15 -07:00
template<class CharT, class Traits>
using basic_string_view =
boost::basic_string_ref<CharT, Traits>;
} // beast
#endif