How can i convert from wostream to ostream

Posted by Avishay on Stack Overflow See other posts from Stack Overflow or by Avishay
Published on 2010-05-13T15:10:53Z Indexed on 2010/05/13 15:14 UTC
Read the original article Hit count: 148

Filed under:
|
|

i am using a function that receives ostream but i have wostream is there a way to convert one to the other?

in particular i want to use boost::write_graphviz which takes ostream but i currently in << operator for wostream.

© Stack Overflow or respective owner

Related posts about c++

Related posts about ostream