![]() |
|
|||
File indexing completed on 2025-09-18 09:07:56
0001 // 0002 // Copyright (c) 2022 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_OPTIONAL_HPP 0011 #define BOOST_URL_OPTIONAL_HPP 0012 0013 #include <boost/url/detail/config.hpp> 0014 #include <boost/optional.hpp> 0015 0016 namespace boost { 0017 namespace urls { 0018 0019 #ifndef BOOST_URL_DOCS 0020 /** The type of optional used by the library 0021 0022 @warning This alias is no longer supported and 0023 should not be used in new code. Please use 0024 `boost::optional` instead. 0025 0026 This alias is included for backwards 0027 compatibility with earlier versions of the 0028 library. 0029 0030 However, it will be removed in future releases, 0031 and using it in new code is not recommended. 0032 0033 Please use the updated version instead to 0034 ensure compatibility with future versions of 0035 the library. 0036 0037 */ 0038 template<class T> 0039 using optional 0040 BOOST_URL_DEPRECATED("Use boost::optional<T> instead") = 0041 boost::optional<T>; 0042 #else 0043 /** The type of optional used by the library 0044 0045 @warning This alias is no longer supported and 0046 should not be used in new code. Please use 0047 `boost::optional` instead. 0048 0049 This alias is included for backwards 0050 compatibility with earlier versions of the 0051 library. 0052 0053 However, it will be removed in future releases, 0054 and using it in new code is not recommended. 0055 0056 Please use the updated version instead to 0057 ensure compatibility with future versions of 0058 the library. 0059 0060 */ 0061 template<class T> 0062 using optional = boost::optional<T>; 0063 #endif 0064 0065 } // urls 0066 } // boost 0067 0068 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |