/Src/Dependencies/Boost/boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp

http://hadesmem.googlecode.com/ · C++ Header · 59 lines · 48 code · 4 blank · 7 comment · 0 complexity · ce6c4bd45eeea428d4232d21350d66ff MD5 · raw file

  1. // (C) Copyright Tobias Schwinger
  2. //
  3. // Use modification and distribution are subject to the boost Software License,
  4. // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
  5. //------------------------------------------------------------------------------
  6. // no include guards, this file is guarded externally
  7. // this file has been generated from the master.hpp file in the same directory
  8. namespace boost { namespace function_types {
  9. namespace detail
  10. {
  11. template<class Tag, class RefTag> struct selector_bits
  12. {
  13. BOOST_STATIC_CONSTANT(bits_t, value = (
  14. (::boost::function_types::detail::bits<Tag> ::value & 0x00008000)
  15. | (::boost::function_types::detail::bits<RefTag> ::value & 802)
  16. ));
  17. };
  18. template<bits_t SelectorBits> struct default_cc_tag;
  19. template<class Tag, class RefTag> struct retag_default_cc
  20. : detail::compound_tag
  21. < Tag, detail::default_cc_tag<
  22. ::boost::function_types::detail::selector_bits<Tag,RefTag> ::value > >
  23. { };
  24. template<bits_t SelectorBits> struct default_cc_tag
  25. {
  26. typedef null_tag::bits bits;
  27. typedef null_tag::mask mask;
  28. };
  29. class test_class;
  30. typedef constant<0x00ff8000> cc_mask_constant;
  31. template< > struct default_cc_tag<33282>
  32. {
  33. typedef void ( *tester)();
  34. typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits;
  35. typedef cc_mask_constant mask;
  36. };
  37. template< > struct default_cc_tag<33026>
  38. {
  39. typedef void ( *tester)( ... );
  40. typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits;
  41. typedef cc_mask_constant mask;
  42. };
  43. template< > struct default_cc_tag<33312>
  44. {
  45. typedef void (test_class:: *tester)();
  46. typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits;
  47. typedef cc_mask_constant mask;
  48. };
  49. template< > struct default_cc_tag<33056>
  50. {
  51. typedef void (test_class:: *tester)( ... );
  52. typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits;
  53. typedef cc_mask_constant mask;
  54. };
  55. } } }