cpp: vector output with ostream_iterator
equation