name_generator_md5.hpp 720 B

12345678910111213141516171819202122232425262728
  1. #ifndef BOOST_UUID_NAME_GENERATOR_MD5_HPP_INCLUDED
  2. #define BOOST_UUID_NAME_GENERATOR_MD5_HPP_INCLUDED
  3. // Copyright 2017 James E. King III
  4. // Copyright 2024 Peter Dimov
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // https://www.boost.org/LICENSE_1_0.txt
  7. #include <boost/uuid/detail/basic_name_generator.hpp>
  8. #include <boost/uuid/detail/md5.hpp>
  9. namespace boost {
  10. namespace uuids {
  11. class name_generator_md5: public detail::basic_name_generator<detail::md5>
  12. {
  13. public:
  14. explicit name_generator_md5( uuid const& namespace_uuid ) noexcept:
  15. detail::basic_name_generator<detail::md5>( namespace_uuid )
  16. {
  17. }
  18. };
  19. } // uuids
  20. } // boost
  21. #endif // BOOST_UUID_NAME_GENERATOR_MD5_HPP_INCLUDED