aboutsummaryrefslogtreecommitdiff
path: root/build2/name.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/name.hxx')
-rw-r--r--build2/name.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/name.hxx b/build2/name.hxx
index 6f329ef..4394236 100644
--- a/build2/name.hxx
+++ b/build2/name.hxx
@@ -90,6 +90,8 @@ namespace build2
compare (const name&) const;
};
+ extern const name empty_name;
+
inline bool
operator== (const name& x, const name& y) {return x.compare (y) == 0;}
@@ -140,9 +142,10 @@ namespace build2
// (names) and typed ones (vector<name>).
//
using names = small_vector<name, 1>;
-
using names_view = vector_view<const name>;
+ extern const names empty_names;
+
// The same semantics as to_stream(name).
//
ostream&