|
||||
File indexing completed on 2025-01-18 09:53:29
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 /** The type of optional used by the library 0020 0021 @note This alias is no longer supported and 0022 should not be used in new code. Please use 0023 `boost::optional` instead. 0024 0025 This alias is included for backwards 0026 compatibility with earlier versions of the 0027 library. 0028 0029 However, it will be removed in future releases, 0030 and using it in new code is not recommended. 0031 0032 Please use the updated version instead to 0033 ensure compatibility with future versions of 0034 the library. 0035 0036 */ 0037 #ifndef BOOST_URL_DOCS 0038 template<class T> 0039 using optional 0040 BOOST_URL_DEPRECATED("Use boost::optional<T> instead") = 0041 boost::optional<T>; 0042 #else 0043 template<class T> 0044 using optional = boost::optional<T>; 0045 #endif 0046 0047 } // urls 0048 } // boost 0049 0050 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |