Warning, file /include/boost/hof/detail/unwrap.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_HOF_GUARD_UNWRAP_H
0009 #define BOOST_HOF_GUARD_UNWRAP_H
0010
0011 #include <type_traits>
0012 #include <functional>
0013
0014 namespace boost { namespace hof { namespace detail {
0015
0016 template <class T>
0017 struct unwrap_reference
0018 {
0019 typedef T type;
0020 };
0021 template <class T>
0022 struct unwrap_reference<std::reference_wrapper<T>>
0023 {
0024 typedef T& type;
0025 };
0026
0027 }}}
0028
0029 #endif