extension.hpp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*=============================================================================
  2. Copyright (c) 2001-2007 Joel de Guzman
  3. Copyright (c) 2005-2006 Dan Marsden
  4. Copyright (c) 2009-2010 Christopher Schmidt
  5. Distributed under the Boost Software License, Version 1.0. (See accompanying
  6. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. ==============================================================================*/
  8. #ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_EXTENSION_HPP
  9. #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_EXTENSION_HPP
  10. #include <boost/fusion/support/config.hpp>
  11. #include <boost/fusion/support/category_of.hpp>
  12. namespace boost { namespace fusion
  13. {
  14. struct struct_tag;
  15. struct struct_iterator_tag;
  16. struct assoc_struct_tag;
  17. struct fusion_sequence_tag;
  18. struct assoc_struct_category
  19. : random_access_traversal_tag, associative_tag
  20. {};
  21. namespace extension
  22. {
  23. struct no_such_member;
  24. struct access
  25. {
  26. template<typename Seq, int N>
  27. struct struct_member;
  28. template<typename Seq, int N>
  29. struct adt_attribute_access;
  30. };
  31. template <typename T, int N, bool Const>
  32. struct adt_attribute_proxy;
  33. template<typename Seq, int N>
  34. struct struct_member_name;
  35. template<typename Seq>
  36. struct struct_size;
  37. template<typename Seq>
  38. struct struct_is_view;
  39. template<typename Seq, int N>
  40. struct struct_assoc_key;
  41. }
  42. }}
  43. #endif