diff options
-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 - |