GenericValue: add explicit operator!=(const Ch*)
MSVC'2005 needs an explicit overload for operator!=(const Ch*) after the addition of the IsGenericValue SFINAE restrictions.
This commit is contained in:
parent
a40dcb9525
commit
f8db473779
@ -711,6 +711,9 @@ public:
|
||||
template <typename SourceAllocator>
|
||||
bool operator!=(const GenericValue<Encoding, SourceAllocator>& rhs) const { return !(*this == rhs); }
|
||||
|
||||
//! Not-equal-to operator with const C-string pointer
|
||||
bool operator!=(const Ch* rhs) const { return !(*this == rhs); }
|
||||
|
||||
//! Not-equal-to operator with arbitrary types
|
||||
/*! \return !(*this == rhs)
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user