/*============================================================================= Copyright (c) 2022 Denis Mikhailov 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) ==============================================================================*/ #ifndef BOOST_FUSION_TRANSFORM_VIEW_KEY_OF_IMPL_JAN_9_2022_0354PM #define BOOST_FUSION_TRANSFORM_VIEW_KEY_OF_IMPL_JAN_9_2022_0354PM #include #include #include #include #include namespace boost { namespace fusion { struct transform_view_iterator_tag; struct transform_view_iterator2_tag; namespace extension { template struct key_of_impl; // Unary Version template<> struct key_of_impl { template struct apply { typedef typename result_of::deref::type value_type; typedef typename Iterator::transform_type F; typedef typename boost::result_of::type transformed_type; typedef typename boost::remove_reference::type transformed_type_unref; typedef typename boost::remove_const::type transformed_type_unconst; typedef typename transformed_type_unconst::first_type type; }; }; // Binary Version is not supported with Associative Sequence } }} #endif