mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 20:17:21 +02:00
added missing ifdef
This commit is contained in:
@ -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_
|
||||
{
|
||||
|
Reference in New Issue
Block a user