aboutsummaryrefslogtreecommitdiff
path: root/build/name
diff options
context:
space:
mode:
Diffstat (limited to 'build/name')
-rw-r--r--build/name9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/name b/build/name
index fc89f44..f45930e 100644
--- a/build/name
+++ b/build/name
@@ -39,6 +39,15 @@ namespace build
bool pair {false};
};
+ inline bool
+ operator== (const name& x, const name& y)
+ {
+ return x.type == y.type && x.dir == y.dir && x.value == y.value;
+ }
+
+ inline bool
+ operator!= (const name& x, const name& y) {return !(x == y);}
+
typedef std::vector<name> names;
std::ostream&