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:
Niels Dekker
2009-06-29 17:53:33 +00:00
parent b02677375f
commit b514e40733

View File

@ -106,8 +106,10 @@ class value_initialized
::boost::swap( this->data(), arg.data() );
}
#if !BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 900)
operator T const &() const { return this->data(); }
#endif
operator T&() { return this->data(); }
} ;