pushed ostream* through to variable constraints, resolving #1151