optional.hpp 584 B

123456789101112131415161718192021222324252627
  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_OPTIONAL_HPP
  10. #define BOOST_URL_OPTIONAL_HPP
  11. #include <boost/url/detail/config.hpp>
  12. #include <boost/optional.hpp>
  13. namespace boost {
  14. namespace urls {
  15. /** The type of optional used by the library
  16. */
  17. template<class T>
  18. using optional = boost::optional<T>;
  19. } // urls
  20. } // boost
  21. #endif