helpers.h 288 B

1234567891011121314151617
  1. #pragma once
  2. #include "reader.h"
  3. #include "writer.h"
  4. template <bool>
  5. struct TDefaultAhoCorasickG;
  6. template <>
  7. struct TDefaultAhoCorasickG<false> {
  8. typedef TDefaultMappedAhoCorasick T;
  9. };
  10. template <>
  11. struct TDefaultAhoCorasickG<true> {
  12. typedef TDefaultAhoCorasickBuilder T;
  13. };