tuple_element.cpp 627 B

123456789101112131415161718192021
  1. /*=============================================================================
  2. Copyright (c) 1999-2003 Jaakko Jarvi
  3. Copyright (c) 2001-2011 Joel de Guzman
  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. #include <boost/fusion/tuple.hpp>
  8. #define FUSION_SEQUENCE tuple
  9. #define FUSION_AT get
  10. #define FUSION_VALUE_AT(S, N) tuple_element<N, S>
  11. #include "value_at.hpp"
  12. int
  13. main()
  14. {
  15. test();
  16. return boost::report_errors();
  17. }