Using operators (like <<) on shared_ptr : <p>I have an FStream that because of other project constraints exists as a <code>std::shared_ptr&lt;std::fstream&gt;</code>.</p>

<p>I would like to write to this stream using the <code>&lt;&lt;</code> operator, but I cannot find the correct syntax for writing to the member of a shared pointer.</p>
