]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/describe/modifiers.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / describe / modifiers.hpp
1 #ifndef BOOST_DESCRIBE_MODIFIERS_HPP_INCLUDED
2 #define BOOST_DESCRIBE_MODIFIERS_HPP_INCLUDED
3
4 // Copyright 2020 Peter Dimov
5 // Distributed under the Boost Software License, Version 1.0.
6 // https://www.boost.org/LICENSE_1_0.txt
7
8 #include <boost/describe/enum.hpp>
9
10 namespace boost
11 {
12 namespace describe
13 {
14
15 enum modifiers
16 {
17 mod_public = 1,
18 mod_protected = 2,
19 mod_private = 4,
20 mod_virtual = 8,
21 mod_static = 16,
22 mod_function = 32,
23 mod_any_member = 64,
24 mod_inherited = 128,
25 mod_hidden = 256,
26 };
27
28 BOOST_DESCRIBE_ENUM(modifiers,
29 mod_public,
30 mod_protected,
31 mod_private,
32 mod_virtual,
33 mod_static,
34 mod_function,
35 mod_any_member,
36 mod_inherited,
37 mod_hidden);
38
39 BOOST_DESCRIBE_CONSTEXPR_OR_CONST modifiers mod_any_access = static_cast<modifiers>( mod_public | mod_protected | mod_private );
40
41 } // namespace describe
42 } // namespace boost
43
44 #endif // #ifndef BOOST_DESCRIBE_MODIFIERS_HPP_INCLUDED