От: | igna | ||
Дата: | 12.08.09 10:43 | ||
Оценка: |
struct my_sentence : vector<string> {
my_sentence(Sentence const* const sent)
: vector<string>(word_iterator(sent), word_iterator()) {}
};
struct my_text : vector<my_sentence> {
my_text(Text const* const text)
: vector<my_sentence>(sentence_iterator(text), sentence_iterator()) {}
};