Boost C++ Libraries: Ticket #2278: fix for the mapped_file_test compilation error for msvc 7.1 https://svn.boost.org/trac10/ticket/2278 <p> he following patch fixes the mapped_file_test compilation error for msvc 7.1 (daw-msvc71): </p> <p> Index: libs/iostreams/src/mapped_file.cpp =================================================================== --- libs/iostreams/src/mapped_file.cpp (revision 48407) +++ libs/iostreams/src/mapped_file.cpp (working copy) @@ -434,7 +434,7 @@ </p> <blockquote> <p> void mapped_file_source::close() { pimpl_-&gt;close(); } </p> </blockquote> <p> -mapped_file_source::operator safe_bool() const +mapped_file_source::operator mapped_file_source::safe_bool() const </p> <blockquote> <p> { return pimpl_-&gt;error() ? &amp;safe_bool_helper::x : 0; } </p> </blockquote> <blockquote> <p> bool mapped_file_source::operator!() const </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2278 Trac 1.4.3 Vladimir Prus Sat, 30 May 2009 06:26:55 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2278#comment:1 https://svn.boost.org/trac10/ticket/2278#comment:1 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53428" title="Workaround msvc compiler error on mapped_file.cpp Fixes #2278. Patch ...">[53428]</a>) Workaround msvc compiler error on mapped_file.cpp </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2278" title="#2278: Bugs: fix for the mapped_file_test compilation error for msvc 7.1 (closed: fixed)">#2278</a>. Patch from David Walthall. </p> Ticket