mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-24 17:47:15 +02:00
Fixed a compile error bug similar to previous vector's one
This commit is contained in:
@ -125,11 +125,7 @@ namespace boost { namespace fusion { namespace detail
|
|||||||
}
|
}
|
||||||
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
BOOST_FUSION_GPU_ENABLED
|
||||||
value_type get_val(mpl::identity<key_type>);
|
mpl::identity<value_type> get_val(mpl::identity<key_type>) const;
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
pair_type get_val(mpl::int_<index>);
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
value_type get_val(mpl::identity<key_type>) const;
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
BOOST_FUSION_GPU_ENABLED
|
||||||
pair_type get_val(mpl::int_<index>) const;
|
pair_type get_val(mpl::int_<index>) const;
|
||||||
|
|
||||||
|
@ -8,9 +8,6 @@
|
|||||||
#define BOOST_FUSION_MAP_DETAIL_VALUE_AT_KEY_IMPL_02042013_0821
|
#define BOOST_FUSION_MAP_DETAIL_VALUE_AT_KEY_IMPL_02042013_0821
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/support/detail/access.hpp>
|
|
||||||
#include <boost/type_traits/is_const.hpp>
|
|
||||||
#include <boost/mpl/at.hpp>
|
|
||||||
#include <boost/mpl/identity.hpp>
|
#include <boost/mpl/identity.hpp>
|
||||||
#include <boost/utility/declval.hpp>
|
#include <boost/utility/declval.hpp>
|
||||||
|
|
||||||
@ -29,8 +26,8 @@ namespace boost { namespace fusion
|
|||||||
template <typename Sequence, typename Key>
|
template <typename Sequence, typename Key>
|
||||||
struct apply
|
struct apply
|
||||||
{
|
{
|
||||||
typedef
|
typedef typename
|
||||||
decltype(boost::declval<Sequence>().get_val(mpl::identity<Key>()))
|
decltype(boost::declval<Sequence>().get_val(mpl::identity<Key>()))::type
|
||||||
type;
|
type;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user