18 lines
301 B
C++
18 lines
301 B
C++
#pragma once
|
|
|
|
#include "finder.h"
|
|
#include "word_list.h"
|
|
|
|
#include <map>
|
|
|
|
class GroupedFinder : public Finder {
|
|
private:
|
|
std::map<char, WordRefList> groups_;
|
|
|
|
public:
|
|
GroupedFinder(const WordList &word_list);
|
|
|
|
virtual WordRefList
|
|
find_prefix(std::string_view search_prefix) const override;
|
|
};
|