Skip to content

Commit 4031ba9

Browse files
committed
Teach Hana how to forward declare reference_wrapper on Windows
1 parent beb9cc5 commit 4031ba9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: include/boost/hana/detail/as_container_element.hpp

+7
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ Distributed under the Boost Software License, Version 1.0.
3737
_GLIBCXX_END_NAMESPACE_VERSION
3838
}
3939

40+
#elif defined(BOOST_HANA_CONFIG_LIBMSVCCXX)
41+
42+
namespace std {
43+
template<class _Ty>
44+
class reference_wrapper;
45+
}
46+
4047
#else
4148

4249
# error "Hana must be taught how to forward declare std::reference_wrapper for your standard library"

0 commit comments

Comments
 (0)