From 534f9d8db025d58c9ce23f3b81a37e8c34386a27 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Apr 2015 10:29:25 +0200 Subject: Add initial import support --- build/path-io | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 build/path-io (limited to 'build/path-io') diff --git a/build/path-io b/build/path-io new file mode 100644 index 0000000..a9deea9 --- /dev/null +++ b/build/path-io @@ -0,0 +1,22 @@ +// file : build/path-io -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#ifndef BUILD_PATH_IO +#define BUILD_PATH_IO + +#include + +#include +#include + +namespace build +{ + inline std::ostream& + operator<< (std::ostream& os, const path& p) + { + return os << (&os == diag_stream ? diag_relative (p) : p.string ()); + } +} + +#endif // BUILD_PATH_IO -- cgit v1.1