diff options
author | lloyd <[email protected]> | 2009-04-01 15:48:16 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-04-01 15:48:16 +0000 |
commit | 515faa2ef86221f08fa2ef4f9eae66126d151e06 (patch) | |
tree | c1aee166125907e4050687ec27bde43ac75ebfc9 /src | |
parent | 99e8c1a20700631103ec20386f8080eeee4df588 (diff) |
Remove copy_if, now included in C++0x (also, it turns out, not being used
in the source).
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/stl_util.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/utils/stl_util.h b/src/utils/stl_util.h index 18c8b149b..fc4d4effe 100644 --- a/src/utils/stl_util.h +++ b/src/utils/stl_util.h @@ -13,22 +13,6 @@ namespace Botan { /* -* Copy-on-Predicate Algorithm -*/ -template<typename InputIterator, typename OutputIterator, typename Predicate> -OutputIterator copy_if(InputIterator current, InputIterator end, - OutputIterator dest, Predicate copy_p) - { - while(current != end) - { - if(copy_p(*current)) - *dest++ = *current; - ++current; - } - return dest; - } - -/* * Searching through a std::map */ template<typename K, typename V> |