Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-06-30 08:32:19

0001 #ifndef BOOST_UUID_NAME_GENERATOR_SHA1_HPP_INCLUDED
0002 #define BOOST_UUID_NAME_GENERATOR_SHA1_HPP_INCLUDED
0003 
0004 // Copyright 2010 Andy Tompkins
0005 // Copyright 2017 James E. King III
0006 // Copyright 2024 Peter Dimov
0007 // Distributed under the Boost Software License, Version 1.0.
0008 // https://www.boost.org/LICENSE_1_0.txt
0009 
0010 #include <boost/uuid/detail/basic_name_generator.hpp>
0011 #include <boost/uuid/detail/sha1.hpp>
0012 
0013 namespace boost {
0014 namespace uuids {
0015 
0016 class name_generator_sha1: public detail::basic_name_generator<detail::sha1>
0017 {
0018 public:
0019 
0020     explicit name_generator_sha1( uuid const& namespace_uuid ) noexcept:
0021         detail::basic_name_generator<detail::sha1>( namespace_uuid )
0022     {
0023     }
0024 };
0025 
0026 } // uuids
0027 } // boost
0028 
0029 #endif // BOOST_UUID_NAME_GENERATOR_SHA1_HPP_INCLUDED