diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-19 16:10:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-19 16:10:03 +0200 |
commit | 8bd89cfca333e58f6990d7d168649dfc79878f31 (patch) | |
tree | 730bb9eec4fc5ddd086ed8465c4d7c0030db0d6b /build/path | |
parent | b0524a0b18eec9d5e5c3f6ce30b6cecdd02a6306 (diff) |
Add support for sourcing/including buildfiles, print, dir{} alias
Diffstat (limited to 'build/path')
-rw-r--r-- | build/path | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -385,6 +385,19 @@ namespace build */ } +namespace std +{ + template <typename C> + struct hash<build::basic_path<C>>: hash<basic_string<C>> + { + size_t + operator() (const build::basic_path<C>& p) const + { + return hash<basic_string<C>>::operator() (p.string ()); + } + }; +} + #include <build/path.ixx> #include <build/path.txx> |