Fix signature to operator!=

[SVN r24499]
This commit is contained in:
John Maddock
2004-08-16 11:22:52 +00:00
parent 2e968dea9c
commit 276fa31266

View File

@ -218,7 +218,7 @@ public:
int BOOST_REGEX_CALL compare(const reg_expression&) const; int BOOST_REGEX_CALL compare(const reg_expression&) const;
bool BOOST_REGEX_CALL operator==(const reg_expression& e)const bool BOOST_REGEX_CALL operator==(const reg_expression& e)const
{ return compare(e) == 0; } { return compare(e) == 0; }
bool operator != (const basic_regex<charT, traits, Allocator>& e) bool operator != (const reg_expression& e)
{ return compare(e) != 0; } { return compare(e) != 0; }
bool BOOST_REGEX_CALL operator<(const reg_expression& e)const bool BOOST_REGEX_CALL operator<(const reg_expression& e)const
{ return compare(e) < 0; } { return compare(e) < 0; }