mirror of
https://github.com/boostorg/optional.git
synced 2025-07-30 20:47:18 +02:00
added missing ifdef
This commit is contained in:
@ -18,6 +18,8 @@ namespace boost {
|
|||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
|
||||||
|
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
|
||||||
|
|
||||||
template <class From>
|
template <class From>
|
||||||
void prevent_binding_rvalue()
|
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);
|
return boost::forward<T>(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
struct is_optional_
|
struct is_optional_
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user