| 83 | /** Encode the alphabet of [first, last). */ |
| 84 | template <typename It> |
| 85 | void encode(It first, It last) const |
| 86 | { |
| 87 | assert(first < last); |
| 88 | assert(!m_alphabet.empty()); |
| 89 | std::transform(first, last, first, Translate(*this)); |
| 90 | } |
| 91 | |
| 92 | /** Decode the alphabet of [first, last). */ |
| 93 | template <typename It> |
no test coverage detected