Boost C++ Libraries: Ticket #9670: missing std::min in <boost/archive/iterators/transform_width.hpp> https://svn.boost.org/trac10/ticket/9670 <p> code: </p> <pre class="wiki">#include &lt;boost/archive/iterators/transform_width.hpp&gt; int main() {} </pre><p> error: </p> <pre class="wiki">/usr/local/boost-1.55.0/include/boost/archive/iterators/transform_width.hpp:151:31: error: no member named 'min' in namespace 'std' unsigned int i = std::min(missing_bits, m_remaining_bits); ~~~~~^ </pre><p> I tested it in clang HEAD 3.5 (trunk 199132) and earlier version. </p> <p> see: (h)ttp://melpon.org/wandbox/permlink/qcuI4pS4yXs5hocN </p> <p> Include &lt;algorithm&gt; before this header, is OK. (h)ttp://melpon.org/wandbox/permlink/kONZvhhVPH9dvyU7 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9670 Trac 1.4.3 anonymous Sat, 15 Feb 2014 07:32:55 GMT <link>https://svn.boost.org/trac10/ticket/9670#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9670#comment:1</guid> <description> <p> Sorry, this probrem is already fixed at Ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9421" title="#9421: Bugs: VC2013 build error /boost/archive/iterators/transform_width.hpp (closed: fixed)">#9421</a> . </p> <p> Please close this. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Tue, 18 Feb 2014 17:27:22 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9670#comment:2 https://svn.boost.org/trac10/ticket/9670#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">fixed</span> </li> </ul> Ticket