diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-11-13 23:44:41 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-11-14 13:05:22 +0300 |
commit | 31ccc33713e3ebd0fc0479d906f114ea33c5d616 (patch) | |
tree | 7e98082c70e412c0171413b64c391cf20087c132 /libbutl/path.mxx | |
parent | 161a8e6a768679bde7054fef96dcbb936c866151 (diff) |
Add to_stream(ostream, path, bool)
Diffstat (limited to 'libbutl/path.mxx')
-rw-r--r-- | libbutl/path.mxx | 7 |
1 files changed, 7 insertions, 0 deletions
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 <string> +#include <ostream> #include <cstddef> // ptrdiff_t #include <cstdint> // uint16_t #include <utility> // move(), swap() @@ -1372,6 +1373,12 @@ LIBBUTL_MODEXPORT namespace butl empty () const {return path == nullptr && !name;} }; + template <typename C, typename K> + std::basic_ostream<C>& + to_stream (std::basic_ostream<C>& os, + const basic_path<C, K>& p, + bool representation); + // For operator<< (ostream) see the path-io header. template <typename P> |