1 // Boost name_generator.hpp header file -----------------------------//
3 // Copyright 2010 Andy Tompkins.
4 // Copyright 2017 James E. King III
6 // Distributed under the Boost Software License, Version 1.0. (See
7 // accompanying file LICENSE_1_0.txt or copy at
8 // https://www.boost.org/LICENSE_1_0.txt)
10 #ifndef BOOST_UUID_NAME_GENERATOR_HPP
11 #define BOOST_UUID_NAME_GENERATOR_HPP
13 #include <boost/config.hpp>
14 #include <boost/uuid/name_generator_sha1.hpp>
16 #ifdef BOOST_HAS_PRAGMA_ONCE
24 //! \brief this provides backwards compatibility with previous boost
25 //! releases however it is now deprecated to ensure that once
26 //! a new hashing algorithm is defined for name generation that
27 //! there is no confusion - at that time this will be removed.
28 typedef name_generator_sha1 name_generator;
30 //! \brief this provides the latest name generator hashing algorithm
31 //! regardless of boost release; if you do not need stable
32 //! name generation across releases then this will suffice
33 typedef name_generator_sha1 name_generator_latest;
38 #endif // BOOST_UUID_NAME_GENERATOR_HPP