Boost C++ Libraries: Ticket #9421: VC2013 build error /boost/archive/iterators/transform_width.hpp https://svn.boost.org/trac10/ticket/9421 <p> vc2013 build boost1.55 error:undefined std::min vc2013 std::min in file&lt;algorithm&gt; not in file&lt;xutility&gt; can this: </p> <pre class="wiki">#if defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1020) # pragma once #endif #include &lt;xutility&gt; //add------ #if defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1800) #include &lt;algorithm&gt; #endif </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9421 Trac 1.4.3 anonymous Fri, 22 Nov 2013 10:37:14 GMT attachment set https://svn.boost.org/trac10/ticket/9421 https://svn.boost.org/trac10/ticket/9421 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">transform_width.hpp</span> </li> </ul> <p> patch </p> Ticket viboes Fri, 29 Nov 2013 21:27:22 GMT component, description changed; owner set https://svn.boost.org/trac10/ticket/9421#comment:1 https://svn.boost.org/trac10/ticket/9421#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Robert Ramey</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">serialization</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/9421?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket Robert Ramey Thu, 30 Jan 2014 20:37:34 GMT <link>https://svn.boost.org/trac10/ticket/9421#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9421#comment:2</guid> <description> <p> I"m not getting this </p> <p> according to my info std::min is defined in &lt;algorithm&gt; </p> <p> Perhaps this should be ?: </p> <pre class="wiki">#if defined(_MSC_VER) &amp;&amp; (_MSC_VER &lt; 1800) #include &lt;xutility&gt; ##else #include &lt;algorithm&gt; #endif}}} </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Mon, 03 Feb 2014 22:37:02 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9421#comment:3 https://svn.boost.org/trac10/ticket/9421#comment:3 <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> I couldn't find any problem in the history. </p> <p> In any case now it's just: </p> <pre class="wiki">#include &lt;algorithm&gt; // std::min </pre><p> now. so I'm going to close this. </p> <p> Robert Ramey </p> Ticket