std streams to write to void* and back
<p>How can I get fstream to write to a void pointer?</p>

<p>Basically I've used MapFileView and got a void pointer from it for shared memory.</p>

<p>I've use copymemory to copy a bunch of data back and forth between two separate applications.</p>

<p>Now instead, I want to use the std library to read in a struct via &lt;&lt; overload and write it to my mapped memory (Local\MyMemMap, invalid_handle), then read it back via >> overload. It's not a physical file that you can see.</p>

<p>Basically I want to redirect ifstream and ofstream to my void* if possible. Otherwise, what other std streams would allow me to use my pointer and the operator overloads?</p>

<p>I only know of istream, osstream.</p>
