Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-02 08:30:42

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_VARIANT_HPP
0011 #define BOOST_URL_VARIANT_HPP
0012 
0013 #include <boost/url/detail/config.hpp>
0014 #include <boost/variant2/variant.hpp>
0015 
0016 namespace boost {
0017 namespace urls {
0018 
0019 /** The type of variant used by the library
0020 
0021     @warning This alias is no longer supported and
0022     should not be used in new code. Please use
0023     `boost::variant2::variant` 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 template<class... Ts>
0038 using variant
0039     BOOST_URL_DEPRECATED("Use variant2::variant instead") =
0040     boost::variant2::variant<Ts...>;
0041 
0042 } // urls
0043 } // boost
0044 
0045 #endif