added missing ifdef

This commit is contained in:
Andrzej Krzemieński
2015-10-06 09:17:14 +02:00
parent b0d7786e14
commit 4939613070

View File

@ -18,6 +18,8 @@ namespace boost {
namespace detail {
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
template <class From>
void prevent_binding_rvalue()
{
@ -35,6 +37,8 @@ BOOST_DEDUCED_TYPENAME boost::remove_reference<T>::type& forward_reference(T&& r
return boost::forward<T>(r);
}
#endif // BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
template <class T>
struct is_optional_
{