Boost C++ Libraries: Ticket #5148: tellg requires seekable, even though it's not a seek operation https://svn.boost.org/trac10/ticket/5148 <p> Problem explained here: hxxp://groups.google.com/group/boost-list/browse_thread/thread/941d71547c4cc065?fwc=2&amp;pli=1 . Example code demonstrating unexpected behavior included for brevity, in my case compiled on MSVC 2008 boost 1.44: #include &lt;ostream&gt; #include "boost/iostreams/categories.hpp" #include "boost/iostreams/filtering_stream.hpp" #include "boost/iostreams/filter/zlib.hpp" int main() { </p> <blockquote> <p> boost::iostreams::filtering_stream&lt; boost::iostreams::input &gt; strm( ( boost::iostreams::zlib_decompressor() ) ); char sourceArr<a class="changeset" href="https://svn.boost.org/trac10/changeset/512" title=" added insertion of child nodes: ntree.hpp utest_ntree.cpp ">[512]</a>; strm.push( boost::iostreams::array_source( sourceArr, sourceArr + sizeof( sourceArr ) ) ); strm.tellg(); <em> Throws even though we're not seeking, just reading the read head position </em></p> </blockquote> <p> } </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5148 Trac 1.4.3 anonymous Tue, 01 Feb 2011 16:11:33 GMT <link>https://svn.boost.org/trac10/ticket/5148#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5148#comment:1</guid> <description> <p> Submiting new tickets on chrome doesn't work, gives the following trac error: "Missing or invalid form token. Do you have cookies enabled?". While yes, cookies are enabled, is a poor error message. </p> <p> Submiting from IE 8 works, but if I include the link with the correct protocol, http, will give another very unhelpful error. The error in question points out that the ticket might be spam, and then tells me something along the lines of "But answer the following question to confirm it's not spam", followed by nothing, making it hard to progress. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 11 Feb 2011 03:33:33 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5148#comment:2 https://svn.boost.org/trac10/ticket/5148#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> This is how tellg is defined. Sorry. </p> Ticket