summaryrefslogtreecommitdiff
path: root/graphs/cpp/exist_functor/exist.hh
blob: 49cafd63740838a3a16ebbf714d56cee7c1a290c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include <vector>

template <class T>
class Exist
{
public:
    bool operator()(T x);

private:
    std::vector<T> seen_;
};

#include "exist.hxx"