I am new to boost::iostreams so this might be trivial:
boost::iostreams
Assuming namespace io = boost::iostreams;
namespace io = boost::iostreams;
this works
io::fil
That's not the way you pass the stream. You have to use push:
push
out.push(std::cout);