From 4aee2eb180a4b9a7cbd3a7bea666a1592247b4f2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 13 Jan 2016 21:37:59 +0000 Subject: Remove old util.h --- mythfs/util.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 mythfs/util.h 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 -std::vector -operator/(const T & input, MT T::value_type::* m) -{ - std::vector result; - /* - result.reserve(input.size()); - for (const auto & i : input) { - result.push_back(i.*m); - } - */ - return result; -} - -/* -template -std::vector -operator/(const T & input, MT T::value_type::element_type::* m) -{ - std::vector result; - result.reserve(input.size()); - for (const auto & i : input) { - result.push_back(i.get()->*m); - } - return result; -} -*/ - -#endif - -- cgit v1.2.3