You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
404 B

#ifndef MARISA_IOSTREAM_H_
#define MARISA_IOSTREAM_H_
#include <iosfwd>
namespace marisa {
class Trie;
std::istream &read(std::istream &stream, Trie *trie);
std::ostream &write(std::ostream &stream, const Trie &trie);
std::istream &operator>>(std::istream &stream, Trie &trie);
std::ostream &operator<<(std::ostream &stream, const Trie &trie);
} // namespace marisa
#endif // MARISA_IOSTREAM_H_