1
0
mirror of https://github.com/PurpleI2P/Boost-for-Android-Prebuilt synced 2025-01-10 14:57:52 +00:00
Boost-for-Android-Prebuilt/boost-1_72_0/include/boost/hof/detail/unwrap.hpp
r4sas 93de5720b8
add boost 1.72.0
Signed-off-by: r4sas <r4sas@i2pmail.org>
2020-02-29 22:43:48 +00:00

30 lines
735 B
C++

/*=============================================================================
Copyright (c) 2014 Paul Fultz II
unwrap.h
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_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;
};
}}} // namespace boost::hof
#endif