pmf.hpp 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. Copyright (c) 2001 Peter Dimov and Multi Media Ltd.
  3. Copyright (c) 2016 Modified Work Barrett Adair
  4. Distributed under the Boost Software License, Version 1.0.
  5. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
  6. HEADER GUARDS INTENTIONALLY OMITTED
  7. DO NOT INCLUDE THIS HEADER DIRECTLY
  8. */
  9. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  10. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  11. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  12. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  13. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  14. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  15. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  16. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const
  17. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS \
  18. BOOST_CLBL_TRTS_ABOMINABLE_CONST
  19. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  20. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  21. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  22. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS volatile
  23. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS \
  24. BOOST_CLBL_TRTS_ABOMINABLE_VOLATILE
  25. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  26. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  27. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  28. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const volatile
  29. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS \
  30. BOOST_CLBL_TRTS_ABOMINABLE_CONST BOOST_CLBL_TRTS_ABOMINABLE_VOLATILE
  31. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  32. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  33. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  34. #ifndef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS
  35. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS &
  36. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS &
  37. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  38. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  39. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  40. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS &&
  41. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS &&
  42. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  43. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  44. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  45. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const &
  46. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS const &
  47. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  48. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  49. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  50. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS volatile &
  51. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS volatile &
  52. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  53. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  54. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  55. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const volatile &
  56. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS const volatile &
  57. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  58. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  59. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  60. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const &&
  61. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS const &&
  62. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  63. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  64. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  65. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS volatile &&
  66. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS volatile &&
  67. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  68. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  69. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  70. #define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const volatile &&
  71. #define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS const volatile &&
  72. #include <boost/callable_traits/detail/unguarded/pmf_2.hpp>
  73. #undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
  74. #undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS
  75. #endif // #ifndef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS