preprocessed.hpp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. } } }