aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/on_disk/aho_corasick/helpers.h
blob: 1e413c08a6ce4e9727e2ee6d30776daa4a031d75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "reader.h"
#include "writer.h"

template <bool>
struct TDefaultAhoCorasickG;

template <>
struct TDefaultAhoCorasickG<false> {
    typedef TDefaultMappedAhoCorasick T;
};

template <>
struct TDefaultAhoCorasickG<true> {
    typedef TDefaultAhoCorasickBuilder T;
};