13 lines
256 B
C++
13 lines
256 B
C++
#pragma once
|
|
|
|
#include "finder.h"
|
|
|
|
class LinearFinder : public Finder {
|
|
private:
|
|
const vector<string> &word_list_;
|
|
|
|
public:
|
|
LinearFinder(const vector<string> &word_list);
|
|
vector<const string *> find_prefix(string_view search_term) const override;
|
|
};
|