diff options
Diffstat (limited to 'boost/fusion/adapted/adt/detail/extension.hpp')
-rw-r--r-- | boost/fusion/adapted/adt/detail/extension.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/boost/fusion/adapted/adt/detail/extension.hpp b/boost/fusion/adapted/adt/detail/extension.hpp index 2f4db4dd09..6349118053 100644 --- a/boost/fusion/adapted/adt/detail/extension.hpp +++ b/boost/fusion/adapted/adt/detail/extension.hpp @@ -10,6 +10,7 @@ #ifndef BOOST_FUSION_ADAPTED_ADT_DETAIL_EXTENSION_HPP #define BOOST_FUSION_ADAPTED_ADT_DETAIL_EXTENSION_HPP +#include <boost/fusion/support/config.hpp> #include <boost/type_traits/remove_const.hpp> #include <boost/type_traits/remove_reference.hpp> #include <boost/fusion/support/as_const.hpp> @@ -19,16 +20,17 @@ namespace boost { namespace fusion { namespace detail { - template <typename T, typename Dummy> - struct get_identity - : remove_const<typename remove_reference<T>::type> - {}; + template <typename T, typename Dummy> + struct get_identity + : remove_const<typename remove_reference<T>::type> + {}; } namespace extension { // Overload as_const() to unwrap adt_attribute_proxy. template <typename T, int N, bool Const> + BOOST_FUSION_GPU_ENABLED typename adt_attribute_proxy<T, N, Const>::type as_const(const adt_attribute_proxy<T, N, Const>& proxy) { return proxy.get(); |