aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/types.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/types.hxx')
-rw-r--r--libbuild2/types.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/types.hxx b/libbuild2/types.hxx
index 2dbd3b5..ea84701 100644
--- a/libbuild2/types.hxx
+++ b/libbuild2/types.hxx
@@ -353,6 +353,12 @@ namespace build2
LIBBUILD2_SYMEXPORT ostream&
operator<< (ostream&, const path&); // utility.cxx
+ inline ostream&
+ operator<< (ostream& os, const dir_path& d) // For overload resolution.
+ {
+ return build2::operator<< (os, static_cast<const path&> (d));
+ }
+
LIBBUILD2_SYMEXPORT ostream&
operator<< (ostream&, const path_name_view&); // utility.cxx