1234567891011121314151617181920212223242526272829 |
- #ifndef BOOST_HOF_GUARD_UNWRAP_H
- #define BOOST_HOF_GUARD_UNWRAP_H
- #include <type_traits>
- #include <functional>
- namespace boost { namespace hof { namespace detail {
- template <class T>
- struct unwrap_reference
- {
- typedef T type;
- };
- template <class T>
- struct unwrap_reference<std::reference_wrapper<T>>
- {
- typedef T& type;
- };
- }}}
- #endif
|