diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-01-13 21:37:59 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-01-31 16:13:19 +0000 |
commit | bf8357022df36de8265cb0c8428078435f1b8bdd (patch) | |
tree | 3fb605257c941317c04f1d3a7d7f045caa841f58 | |
parent | WIP MythFS inodes (diff) | |
download | mythfs-bf8357022df36de8265cb0c8428078435f1b8bdd.tar.bz2 mythfs-bf8357022df36de8265cb0c8428078435f1b8bdd.tar.xz mythfs-bf8357022df36de8265cb0c8428078435f1b8bdd.zip |
Remove old util.h
-rw-r--r-- | mythfs/util.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/mythfs/util.h b/mythfs/util.h deleted file mode 100644 index 3d7ea35..0000000 --- a/mythfs/util.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef MYTHFS_UTIL_H -#define MYTHFS_UTIL_H - -template <typename T, typename MT> -std::vector<MT> -operator/(const T & input, MT T::value_type::* m) -{ - std::vector<MT> result; - /* - result.reserve(input.size()); - for (const auto & i : input) { - result.push_back(i.*m); - } - */ - return result; -} - -/* -template <typename T, typename MT> -std::vector<std::string> -operator/(const T & input, MT T::value_type::element_type::* m) -{ - std::vector<MT> result; - result.reserve(input.size()); - for (const auto & i : input) { - result.push_back(i.get()->*m); - } - return result; -} -*/ - -#endif - |