Some fixes for string literals on LHS

This commit is contained in:
Phil Nash 2011-07-15 08:07:44 +01:00
parent d6566f9d2f
commit 3723b527f5

View File

@ -345,6 +345,16 @@ private:
return *this;
}
///////////////////////////////////////////////////////////////////////////
template<Internal::Operator Op, typename T>
MutableResultInfo& captureExpression
(
const T* lhs,
int rhs
)
{
return captureExpression<Op>( lhs, reinterpret_cast<const T*>( rhs ) );
}
};
template<typename T>
@ -549,7 +559,7 @@ public:
///////////////////////////////////////////////////////////////////////////
Expression<const char*> operator->*
(
const char* operand
const char* const& operand
)
{
Expression<const char*> expr( m_result, operand );