summaryrefslogtreecommitdiff
path: root/boost/fusion/adapted/adt/detail/extension.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/adapted/adt/detail/extension.hpp')
-rw-r--r--boost/fusion/adapted/adt/detail/extension.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/boost/fusion/adapted/adt/detail/extension.hpp b/boost/fusion/adapted/adt/detail/extension.hpp
new file mode 100644
index 0000000000..50c40cf34e
--- /dev/null
+++ b/boost/fusion/adapted/adt/detail/extension.hpp
@@ -0,0 +1,24 @@
+/*=============================================================================
+ Copyright (c) 2001-2009 Joel de Guzman
+ Copyright (c) 2005-2006 Dan Marsden
+ Copyright (c) 2010 Christopher Schmidt
+
+ 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_ADAPTED_ADT_DETAIL_EXTENSION_HPP
+#define BOOST_FUSION_ADAPTED_ADT_DETAIL_EXTENSION_HPP
+
+#include <boost/type_traits/remove_const.hpp>
+#include <boost/type_traits/remove_reference.hpp>
+
+namespace boost { namespace fusion { namespace detail
+{
+ template <typename T, typename Dummy>
+ struct get_identity
+ : remove_const<typename remove_reference<T>::type>
+ {};
+}}}
+
+#endif