mirror of
https://github.com/boostorg/utility.git
synced 2025-07-31 13:27:34 +02:00
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,7 +106,9 @@ 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