|
||||
File indexing completed on 2025-01-18 09:53:30
0001 // 0002 // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) 0003 // 0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying 0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0006 // 0007 // Official repository: https://github.com/boostorg/url 0008 // 0009 0010 #ifndef BOOST_URL_STRING_VIEW_HPP 0011 #define BOOST_URL_STRING_VIEW_HPP 0012 0013 #include <boost/url/detail/config.hpp> 0014 #include <boost/url/detail/string_view.hpp> 0015 0016 namespace boost { 0017 namespace urls { 0018 0019 /** The type of string_view used by the library 0020 0021 String views are used to pass character 0022 buffers into or out of functions. Ownership 0023 of the underlying character buffer is not 0024 transferred; the caller is responsible for 0025 ensuring that the lifetime of character 0026 buffer extends until it is no longer 0027 referenced. 0028 0029 @note This alias is no longer supported and 0030 should not be used in new code. Please use 0031 `core::string_view` instead. 0032 0033 This alias is included for backwards 0034 compatibility with earlier versions of the 0035 library. 0036 0037 However, it will be removed in future releases, 0038 and using it in new code is not recommended. 0039 0040 Please use the updated version instead to 0041 ensure compatibility with future versions of 0042 the library. 0043 0044 */ 0045 using string_view 0046 BOOST_URL_DEPRECATED("Use core::string_view instead") = 0047 boost::core::string_view; 0048 0049 } // urls 0050 } // boost 0051 0052 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |