name_generator.hpp 1.2 KB

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