variant.hpp 696 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // Copyright (c) 2022 Vinnie Falco (vinnie.falco@gmail.com)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // Official repository: https://github.com/boostorg/url
  8. //
  9. #ifndef BOOST_URL_VARIANT_HPP
  10. #define BOOST_URL_VARIANT_HPP
  11. #include <boost/url/detail/config.hpp>
  12. #include <boost/variant2/variant.hpp>
  13. namespace boost {
  14. namespace urls {
  15. /** The type of variant used by the library
  16. */
  17. template<class... Ts>
  18. using variant
  19. BOOST_URL_DEPRECATED("Use variant2::variant instead") =
  20. boost::variant2::variant<Ts...>;
  21. } // urls
  22. } // boost
  23. #endif