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:
Philipp A. Hartmann 2014-08-30 18:51:43 +02:00 committed by Philipp A. Hartmann
parent a40dcb9525
commit f8db473779

View File

@ -711,6 +711,9 @@ public:
template <typename SourceAllocator> template <typename SourceAllocator>
bool operator!=(const GenericValue<Encoding, SourceAllocator>& rhs) const { return !(*this == rhs); } 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 //! Not-equal-to operator with arbitrary types
/*! \return !(*this == rhs) /*! \return !(*this == rhs)
*/ */