nil_uuid.hpp 480 B

12345678910111213141516171819202122
  1. #ifndef BOOST_UUID_DETAIL_NIL_UUID_INCLUDED
  2. #define BOOST_UUID_DETAIL_NIL_UUID_INCLUDED
  3. // Copyright 2025 Peter Dimov
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // https://www.boost.org/LICENSE_1_0.txt
  6. #include <boost/uuid/uuid.hpp>
  7. #include <boost/config.hpp>
  8. namespace boost {
  9. namespace uuids {
  10. BOOST_CXX14_CONSTEXPR inline uuid nil_uuid() noexcept
  11. {
  12. return {{}};
  13. }
  14. }} // namespace boost::uuids
  15. #endif // #ifndef BOOST_UUID_DETAIL_NIL_UUID_INCLUDED