boost: add `heap`

pull/5733/head
Qudix 2 weeks ago
parent 9e19731fd3
commit 72e6a93268
  1. 7
      packages/b/boost/libs.lua
  2. 9
      packages/b/boost/test.lua

@ -33,7 +33,8 @@ local sorted_libs = {
"chrono",
"system",
"charconv",
"atomic"
"atomic",
"heap"
}
local libs_dep = {
@ -149,7 +150,8 @@ local libs_dep = {
"mpi",
"random",
"serialization"
}
},
heap = {}
}
local header_only_buildable = {
@ -158,6 +160,7 @@ local header_only_buildable = {
"exception",
"regex",
"math",
"heap"
}
function get_libs()

@ -84,6 +84,15 @@ function _header_only(package, snippets)
}
]]
)
table.insert(snippets,
[[
#include <boost/heap/fibonacci_heap.hpp>
void test() {
boost::heap::fibonacci_heap<int> heap;
heap.push(1);
}
]]
)
end
function main(package)

Loading…
Cancel
Save