aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/types.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-04-13 13:14:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-04-13 13:14:35 +0200
commite9a3804c2ea5972dd84a7d4759d4ea965c2490fb (patch)
tree89f6eeaf50486213f8de898d55fefeea080e54f2 /libbuild2/types.hxx
parent1308eb0d740a687161641d52dabad8c0f849db08 (diff)
Various minor generalizations for in-process configure support in bpkg
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