/*=============================================================================
- Copyright (c) 2001-2006 Joel de Guzman
+ Copyright (c) 2001-2011 Joel de Guzman
- Distributed under the Boost Software License, Version 1.0. (See accompanying
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#if !defined(FUSION_AT_05042005_0722)
#include <boost/mpl/int.hpp>
#include <boost/type_traits/is_const.hpp>
+#include <boost/fusion/sequence/intrinsic_fwd.hpp>
#include <boost/fusion/support/tag_of.hpp>
#include <boost/fusion/support/detail/access.hpp>
struct boost_array_tag; // boost::array tag
struct mpl_sequence_tag; // mpl sequence tag
struct std_pair_tag; // std::pair tag
+ struct std_tuple_tag; // std::tuple tag
namespace extension
{
template <>
struct at_impl<std_pair_tag>;
+
+ template <>
+ struct at_impl<std_tuple_tag>;
}
namespace result_of
{
template <typename Sequence, typename N>
- struct at
+ struct at
: extension::at_impl<typename detail::tag_of<Sequence>::type>::
template apply<Sequence, N>
{};
template <typename N, typename Sequence>
- inline typename
+ inline typename
lazy_disable_if<
is_const<Sequence>
, result_of::at<Sequence, N>
}
template <int N, typename Sequence>
- inline typename
+ inline typename
lazy_disable_if<
is_const<Sequence>
, result_of::at_c<Sequence, N>