diff options
author | Adrian Kummerlaender | 2015-01-21 16:31:14 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-01-21 16:31:14 +0100 |
commit | 611150b033340ed7433d6ba2482f86aa5655bd15 (patch) | |
tree | af3c8662e5fffae57652f2ffb6900c7b6256d4ca /src/list/operation/higher | |
parent | 4158a6c517329301a5d98ad1c5bde060b3ebf09a (diff) | |
download | TypeAsValue-611150b033340ed7433d6ba2482f86aa5655bd15.tar TypeAsValue-611150b033340ed7433d6ba2482f86aa5655bd15.tar.gz TypeAsValue-611150b033340ed7433d6ba2482f86aa5655bd15.tar.bz2 TypeAsValue-611150b033340ed7433d6ba2482f86aa5655bd15.tar.lz TypeAsValue-611150b033340ed7433d6ba2482f86aa5655bd15.tar.xz TypeAsValue-611150b033340ed7433d6ba2482f86aa5655bd15.tar.zst TypeAsValue-611150b033340ed7433d6ba2482f86aa5655bd15.zip |
Moved `Reverse` into separate header
* it is not in itself a higher order function but only based on one
Diffstat (limited to 'src/list/operation/higher')
-rw-r--r-- | src/list/operation/higher/misc.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/list/operation/higher/misc.h b/src/list/operation/higher/misc.h index 95a5f50..1eacaaa 100644 --- a/src/list/operation/higher/misc.h +++ b/src/list/operation/higher/misc.h @@ -2,7 +2,6 @@ #define TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_MISC_H_ #include "fold.h" -#include "list/operation/concatenate.h" #include "conditional/if.h" namespace tav { @@ -49,25 +48,6 @@ class Filter { }; -template <typename List> -class Reverse { - private: - template < - typename Current, - typename Previous - > - struct reversed_concatenate { - typedef typename Concatenate< - Previous, - Cons<Current, void> - >::type type; - }; - - public: - typedef typename Fold<reversed_concatenate, void, List>::type type; - -}; - } #endif // TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_MISC_H_ |