void print_str(void *e, void *args) { *(ostream *)args << ' ' << *(str *)e; } inline ostream &operator<<(ostream &os, strq &q) { q.apply(print_str, &os); return os; } // End of File