[iostreams] Why does boost::iostreams::copy close the Sink & Source?
5 Feb
2014
5 Feb
'14
4:54 p.m.
What's the rationale behind this decision? I don't find it intuitive and reduces the utility of the function. In my case I read from a file into a stream which I want to later use, the signature of the device is important. But as soon as I've copied my data over to the device it's destroyed and along side the data goes down the drain. Kind regards, Sebastian Karlsson
3948
Age (days ago)
3948
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sebastian Karlsson