File indexing completed on 2025-06-30 08:32:19
0001 #ifndef BOOST_UUID_NIL_GENERATOR_HPP_INCLUDED
0002 #define BOOST_UUID_NIL_GENERATOR_HPP_INCLUDED
0003
0004
0005
0006
0007
0008 #include <boost/uuid/uuid.hpp>
0009
0010 namespace boost {
0011 namespace uuids {
0012
0013
0014 struct nil_generator
0015 {
0016 using result_type = uuid;
0017
0018 uuid operator()() const noexcept
0019 {
0020 return {{}};
0021 }
0022 };
0023
0024 inline uuid nil_uuid() noexcept
0025 {
0026 return {{}};
0027 }
0028
0029 }}
0030
0031 #endif