]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/uuid/name_generator.hpp
4aab7fdad488c3c79905628bd9b5f039517ba2f0
[ceph.git] / ceph / src / boost / boost / uuid / name_generator.hpp
1 // Boost name_generator.hpp header file -----------------------------//
2
3 // Copyright 2010 Andy Tompkins.
4 // Copyright 2017 James E. King III
5
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)
9
10 #ifndef BOOST_UUID_NAME_GENERATOR_HPP
11 #define BOOST_UUID_NAME_GENERATOR_HPP
12
13 #include <boost/config.hpp>
14 #include <boost/uuid/name_generator_sha1.hpp>
15
16 #ifdef BOOST_HAS_PRAGMA_ONCE
17 #pragma once
18 #endif
19
20 namespace boost {
21 namespace uuids {
22
23 //! \deprecated
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;
29
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;
34
35 } // uuids
36 } // boost
37
38 #endif // BOOST_UUID_NAME_GENERATOR_HPP