Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef FILTMMAP_H
- #define FILTMMAP_H
- #include <map>
- template<class Key, class Value, class Filter>
- class map_filter_view {
- std::map<Key, Value> container;
- Filter filter;
- public:
- map_filter_view(std::map<Key, Value> c) : container(c) {
- }
- int count(const Key& key) const {
- return 0;
- }
- int size() const {
- return 0;
- }
- };
- #endif // FILTMMAP_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement