diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-09-22 23:32:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-09-22 23:32:28 +0200 |
commit | c09cd7512491cee1e82c1ad8128ce9fd4bc3f79b (patch) | |
tree | a659ed768d849130ab5780a11b7f791a463a1a91 /libbutl/path-io.hxx | |
parent | 2a00871f07067f8f9e2de08bb9c8f50e1bf6a650 (diff) |
Initial modularization with both Clang and VC hacks
Note: gave up on VC about half way though.
Diffstat (limited to 'libbutl/path-io.hxx')
-rw-r--r-- | libbutl/path-io.hxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/libbutl/path-io.hxx b/libbutl/path-io.hxx deleted file mode 100644 index 719456d..0000000 --- a/libbutl/path-io.hxx +++ /dev/null @@ -1,29 +0,0 @@ -// file : libbutl/path-io.hxx -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef LIBBUTL_PATH_IO_HXX -#define LIBBUTL_PATH_IO_HXX - -#include <ostream> - -#include <libbutl/path.hxx> - -namespace butl -{ - // This is the default path IO implementation. The reason it is - // separate is because one often wants a custom implementation. - // For example, we may want to print paths as relative to the - // working directory. Or we may want to print '~' for the home - // directory prefix. Or we may want to print dir_path with a - // trailing '/'. - // - template <typename C, typename K> - inline std::basic_ostream<C>& - operator<< (std::basic_ostream<C>& os, basic_path<C, K> const& p) - { - return os << p.string (); - } -} - -#endif // LIBBUTL_PATH_IO_HXX |