From 9d5b0d7c0c7003af870c5e061285e6ee7f24b79c Mon Sep 17 00:00:00 2001 From: Eric Friedman Date: Sat, 26 Nov 2005 05:50:55 +0000 Subject: [PATCH] Added more relational operators, see Bug #1191356. [SVN r31783] --- include/boost/blank.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/include/boost/blank.hpp b/include/boost/blank.hpp index 338fc68..f84f2d9 100644 --- a/include/boost/blank.hpp +++ b/include/boost/blank.hpp @@ -58,11 +58,31 @@ inline bool operator==(const blank&, const blank&) return true; } +inline bool operator<=(const blank&, const blank&) +{ + return true; +} + +inline bool operator>=(const blank&, const blank&) +{ + return true; +} + +inline bool operator!=(const blank&, const blank&) +{ + return false; +} + inline bool operator<(const blank&, const blank&) { return false; } +inline bool operator>(const blank&, const blank&) +{ + return false; +} + // streaming support // BOOST_TEMPLATED_STREAM_TEMPLATE(E,T)