refactor: add WordRefList from WordList constructor
This commit is contained in:
parent
95cc7223e8
commit
3b1446f049
3 changed files with 10 additions and 6 deletions
|
@ -22,6 +22,8 @@ public:
|
|||
|
||||
class WordRefList : public std::vector<const std::string *> {
|
||||
public:
|
||||
WordRefList(const WordList &source);
|
||||
|
||||
static void find_prefix_in_range(
|
||||
const WordRefList &word_list, const std::string_view &search_prefix,
|
||||
size_t start_index, size_t end_index,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue