From 31ccc33713e3ebd0fc0479d906f114ea33c5d616 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 13 Nov 2019 23:44:41 +0300 Subject: Add to_stream(ostream, path, bool) --- libbutl/path.mxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libbutl/path.mxx') diff --git a/libbutl/path.mxx b/libbutl/path.mxx index 4ed6989..130419c 100644 --- a/libbutl/path.mxx +++ b/libbutl/path.mxx @@ -10,6 +10,7 @@ #ifndef __cpp_lib_modules_ts #include +#include #include // ptrdiff_t #include // uint16_t #include // move(), swap() @@ -1372,6 +1373,12 @@ LIBBUTL_MODEXPORT namespace butl empty () const {return path == nullptr && !name;} }; + template + std::basic_ostream& + to_stream (std::basic_ostream& os, + const basic_path& p, + bool representation); + // For operator<< (ostream) see the path-io header. template -- cgit v1.1