[Boost-bugs] [Boost C++ Libraries] #9727: boost/archive/iterators/transform_width.hpp is missing <algorithm> include

Subject: [Boost-bugs] [Boost C++ Libraries] #9727: boost/archive/iterators/transform_width.hpp is missing <algorithm> include
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-01 11:29:49


#9727: boost/archive/iterators/transform_width.hpp is missing <algorithm> include
-------------------------------------------------+-------------------------
 Reporter: Yevgeniy Shaporynskyy | Owner: ramey
  <shaporynskyy@…> | Status: new
     Type: Bugs | Component:
Milestone: To Be Determined | serialization
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: SUN, serialization |
-------------------------------------------------+-------------------------
 boost/archive/iterators/transform_width.hpp is using std::min() without
 including <algorithm>.

 It fails to compile on SUN OS with native compiler 5.10 and old Cstd STL.

 Adding #include <algorithm> fixes the problem

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9727>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC