variant.hpp 609 B

12345678910111213141516171819202122232425262728
  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::variant2::variant<Ts...>;
  20. } // urls
  21. } // boost
  22. #endif