Opened 6 years ago
Closed 6 years ago
#12560 closed Bugs (fixed)
heap_merge.hpp has a missing #include
| Reported by: | Owned by: | timblechmann | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | heap | 
| Version: | Boost 1.60.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
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).
Attachments (1)
Change History (2)
by , 6 years ago
| Attachment: | boost-heap.patch added | 
|---|
comment:1 by , 6 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    