/Src/Dependencies/Boost/boost/fusion/container/list/detail/value_of_impl.hpp

http://hadesmem.googlecode.com/ · C++ Header · 36 lines · 22 code · 7 blank · 7 comment · 0 complexity · b556bc33d4aa4575472fe723cfb98bfb MD5 · raw file

  1. /*=============================================================================
  2. Copyright (c) 2005 Joel de Guzman
  3. Copyright (c) 2005 Eric Niebler
  4. Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. ==============================================================================*/
  7. #if !defined(FUSION_VALUE_OF_IMPL_07172005_0838)
  8. #define FUSION_VALUE_OF_IMPL_07172005_0838
  9. namespace boost { namespace fusion
  10. {
  11. struct cons_iterator_tag;
  12. namespace extension
  13. {
  14. template <typename Tag>
  15. struct value_of_impl;
  16. template <>
  17. struct value_of_impl<cons_iterator_tag>
  18. {
  19. template <typename Iterator>
  20. struct apply
  21. {
  22. typedef typename Iterator::cons_type cons_type;
  23. typedef typename cons_type::car_type type;
  24. };
  25. };
  26. }
  27. }}
  28. #endif