123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #if !defined(BOOST_FUSION_BEGIN_IMPL_27122005_1117)
- #define BOOST_FUSION_BEGIN_IMPL_27122005_1117
- #include <boost/fusion/support/config.hpp>
- #include <boost/fusion/adapted/boost_array/array_iterator.hpp>
- namespace boost { namespace fusion {
- struct boost_array_tag;
- namespace extension
- {
- template<typename T>
- struct begin_impl;
- template <>
- struct begin_impl<boost_array_tag>
- {
- template <typename Sequence>
- struct apply
- {
- typedef array_iterator<Sequence, 0> type;
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
- static type
- call(Sequence& v)
- {
- return type(v);
- }
- };
- };
- }
- }}
- #endif
|