Skip to content

Commit

Permalink
Teach Hana how to forward declare reference_wrapper on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Feb 18, 2016
1 parent df65744 commit 5e45f3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/boost/hana/detail/as_container_element.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ Distributed under the Boost Software License, Version 1.0.
_GLIBCXX_END_NAMESPACE_VERSION
}

#elif defined(BOOST_HANA_CONFIG_LIBMSVCCXX)

namespace std {
template<class _Ty>
class reference_wrapper;
}

#else

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

0 comments on commit 5e45f3d

Please sign in to comment.