forked from boostorg/utility
Worked around Intel 9 specific ambiguity w.r.t. value_initialized conversion operators, by applying intel_9_value_init_conversion-operator.patch, as discussed w/ Daniel James at ticket #2548
[SVN r54502]
This commit is contained in:
@@ -106,8 +106,10 @@ class value_initialized
|
|||||||
::boost::swap( this->data(), arg.data() );
|
::boost::swap( this->data(), arg.data() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 900)
|
||||||
operator T const &() const { return this->data(); }
|
operator T const &() const { return this->data(); }
|
||||||
|
#endif
|
||||||
|
|
||||||
operator T&() { return this->data(); }
|
operator T&() { return this->data(); }
|
||||||
|
|
||||||
} ;
|
} ;
|
||||||
|
Reference in New Issue
Block a user