Subject: [Boost-bugs] [Boost C++ Libraries] #12560: heap_merge.hpp has a missing #include
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-27 15:44:03
#12560: heap_merge.hpp has a missing #include
------------------------------+--------------------------
Reporter: gromer@⦠| Owner: timblechmann
Type: Bugs | Status: new
Milestone: To Be Determined | Component: heap
Version: Boost 1.60.0 | Severity: Problem
Keywords: |
------------------------------+--------------------------
`heap/heap_merge.hpp` uses `std::max`, but does not `#include` the
`<algorithm>` header that defines it. Among other things, this prevents
Boost.Heap from being built using C++ modules (see
http://clang.llvm.org/docs/Modules.html), because modules require headers
to be self-contained.
A fix is attached (relative to 1.60.0).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12560> 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:20 UTC