diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:41:18 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:43:11 +0900 |
commit | f763a99a501650eff2c60288aa6f10ef916d769e (patch) | |
tree | 02af7e13f9a38c888ebf340fe764cbe7dae99da9 /boost/hana/optional.hpp | |
parent | 5cde13f21d36c7224b0e13d11c4b49379ae5210d (diff) | |
download | boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.gz boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.bz2 boost-f763a99a501650eff2c60288aa6f10ef916d769e.zip |
Imported Upstream version 1.62.0upstream/1.62.0
Change-Id: I9d4c1ddb7b7d8f0069217ecc582700f9fda6dd4c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/hana/optional.hpp')
-rw-r--r-- | boost/hana/optional.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/hana/optional.hpp b/boost/hana/optional.hpp index 772f90fbe0..f99a489d3d 100644 --- a/boost/hana/optional.hpp +++ b/boost/hana/optional.hpp @@ -15,6 +15,7 @@ Distributed under the Boost Software License, Version 1.0. #include <boost/hana/bool.hpp> #include <boost/hana/config.hpp> #include <boost/hana/core/tag_of.hpp> +#include <boost/hana/detail/decay.hpp> #include <boost/hana/detail/operators/adl.hpp> #include <boost/hana/detail/operators/comparable.hpp> #include <boost/hana/detail/operators/monad.hpp> @@ -115,7 +116,7 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename T> constexpr auto make_just_t::operator()(T&& t) const { - return hana::optional<typename std::decay<T>::type>(static_cast<T&&>(t)); + return hana::optional<typename detail::decay<T>::type>(static_cast<T&&>(t)); } //! @endcond |