diff options
Diffstat (limited to 'build2/variable.ixx')
-rw-r--r-- | build2/variable.ixx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build2/variable.ixx b/build2/variable.ixx index da86c39..e7d5654 100644 --- a/build2/variable.ixx +++ b/build2/variable.ixx @@ -75,6 +75,19 @@ namespace build2 return !(x == y); } + inline bool + operator<= (const value& x, const value& y) + { + return !(x > y); + } + + inline bool + operator>= (const value& x, const value& y) + { + return !(x < y); + } + + template <> inline const names& cast (const value& v) |