2
0
mirror of https://github.com/boostorg/heap.git synced 2026-01-19 16:22:16 +00:00

174 Commits

Author SHA1 Message Date
Alexander Grund
3b22808536 CMake: Fix required C++ standard
`cxx_std_14` is only available since CMake 3.8
The `CXX_STANDARD_REQUIRED` property is a boolean, i.e. ON or OFF not a numeric value. The feature is enough to require the standard already
boost-1.90.0.beta1 boost-1.90.0
2025-09-06 22:09:41 +08:00
Tim Blechmann
8762dc737c cmake: fix standard required property
Fixes #51
2025-04-18 07:29:12 +08:00
Tim Blechmann
ed87432ad1 CI: remove ubuntu-20.04 and ancient clang 2025-04-18 07:28:29 +08:00
Tim Blechmann
2cc81f183b update github actions for ubuntu/clang 2024-12-27 12:48:53 +08:00
Yuriy Chernyshov
7db5d9db66 Workaround -Wunused-parameter boost-1.89.0 boost-1.88.0.beta1 boost-1.88.0 2024-12-27 09:00:29 +08:00
Tim Blechmann
0538690145 github: update github actions 2024-12-14 12:12:11 +08:00
Tim Blechmann
8afdc41521 Merge pull request #45 from boostorg/for/develop
For/develop
2024-11-09 21:40:37 +08:00
Tim Blechmann
8ae6cfd336 heap: use c++14 wherever possible
* remove c++11 workarounds
* use std type traits
* use std::array
* use nullptr
* use noexcept
2024-11-09 12:55:27 +08:00
Tim Blechmann
8c1f024153 heap: bump minimum version to c++14 2024-11-09 11:57:48 +08:00
Tim Blechmann
8d4e2ff015 heap: silence -Wall -Wextra warnings 2024-11-09 11:57:48 +08:00
Tim Blechmann
5e2d4aaa4a heap: remove unused headers 2024-11-09 11:57:48 +08:00
Tim Blechmann
d1faa75b66 tests: avoid boost::random 2024-11-09 11:57:48 +08:00
Tim Blechmann
874b564c58 Merge pull request #43 from phillip-keldenich/develop
Fixed compilation issue.
2024-10-11 16:23:38 +08:00
Phillip Keldenich
05030b60e6 Fixed compilation issue.
There was a typo (value_compare() vs. value_comp()),
causing compilation errors when value_compare was not
default constructible and assertions were enabled.
2024-10-10 21:56:45 +02:00
Tim Blechmann
450cc153aa Merge pull request #40 from grafikrobot/modular
Add support for modular build structure.
boost-1.87.0 boost-1.87.0.beta1
2024-08-19 09:02:16 +08:00
Rene Rivera
f6e6ed25ff Update build deps. 2024-08-03 14:17:45 -05:00
Rene Rivera
97691b67d9 Adjust doc build to avoid boost-root references. 2024-07-28 10:56:46 -05:00
Rene Rivera
8880b046dd Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:23 -05:00
Rene Rivera
faaee4ffa8 Update copyright dates. 2024-07-20 22:52:04 -05:00
Rene Rivera
da051f30d8 Bump B2 require to 5.2 2024-06-14 11:33:55 -05:00
Rene Rivera
240d942413 Add requires-b2 check to top-level build file. 2024-05-05 09:00:01 -05:00
Rene Rivera
e368a3afbc Switch to library requirements instead of source. As source puts extra source in install targets. 2024-03-29 21:15:59 -05:00
Rene Rivera
ec648baef9 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Tim Blechmann
54447ef930 Merge pull request #37 from boostorg/feature/cleanups
Feature/cleanups
2023-12-17 20:21:52 +08:00
Tim Blechmann
f2de6647b6 include missing header 2023-12-17 16:26:05 +08:00
Tim Blechmann
469577d66b cmake build system fixes 2023-12-17 15:30:19 +08:00
Tim Blechmann
02095a27f2 add github actions 2023-12-07 18:07:53 +08:00
Tim Blechmann
849df36fe6 heap: introduce support for stateful allocators 2023-12-07 17:48:18 +08:00
Tim Blechmann
fe09dc26ec heap: support for stateful allocators 2023-12-07 17:30:00 +08:00
Tim Blechmann
7982bdc650 cleanup: run clang-format 2023-12-07 17:27:32 +08:00
Tim Blechmann
e312718a99 repo: add clang-format and pre-commit files 2023-12-07 17:27:14 +08:00
Tim Blechmann
fa19f9a9f1 build system: update cmake build system 2023-12-07 17:24:32 +08:00
Peter Dimov
dc2f19f881 Merge branch 'master' into develop boost-1.82.0.beta1 boost-1.80.0.beta1 boost-1.86.0 boost-1.85.0.beta1 boost-1.85.0 boost-1.84.0.beta1 boost-1.84.0 boost-1.83.0.beta1 boost-1.83.0 boost-1.77.0 boost-1.82.0 boost-1.81.0.beta1 boost-1.81.0 boost-1.86.0.beta1 boost-1.80.0 boost-1.79.0.beta1 boost-1.79.0 boost-1.78.0.beta1 boost-1.78.0 boost-1.77.0.beta1 2021-06-10 02:24:08 +03:00
Peter Dimov
9a6b53035e Add CMakeLists.txt 2021-05-28 00:32:46 +03:00
Tim Blechmann
b410010e51 Merge pull request #31 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-01-20 12:27:55 +08:00
Edward Diener
6a793b24d4 [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-19 22:48:25 -05:00
Glen Fernandes
ed3e6fe564 Merge branch 'develop' boost-1.76.0.beta1 boost-1.76.0 boost-1.75.0.beta1 boost-1.75.0 2020-09-03 15:01:42 -04:00
Tim Blechmann
8ec9f609b2 Merge pull request #29 from glenfe/develop
Fix MSVC compilation
2020-08-20 11:29:59 +08:00
Glen Fernandes
af7ab71923 MSVC 12 fails mutable_heap_test forward declarations 2020-08-19 11:05:04 -04:00
Glen Fernandes
ed015c3b21 Fix compilation on MSVC in node_disposer 2020-08-19 11:04:41 -04:00
Glen Fernandes
1107a75191 Add Appveyor CI to test MSVC 2020-08-17 18:32:31 -04:00
Tim Blechmann
c0a8773051 Merge remote-tracking branch 'origin/develop' boost-1.74.0 boost-1.74.0.beta1 2020-06-03 12:13:36 +08:00
Tim Blechmann
c92416c40f Merge pull request #27 from glenfe/develop
Fix double destroy of top node in skew_heap and simplify allocator usage
2020-05-28 21:17:37 +08:00
Glen Fernandes
5cfeb7c4ad Correct and simplify allocator use
For construction/destruction the allocator should only be used for value_type. For node construction/destruction placement new and destructors should be used.

Use <boost/core/allocator_access.hpp> to simplify allocator use.
2020-05-26 09:35:01 -04:00
Glen Fernandes
4843f7af37 Fix double-destroy of top node in skew_heap 2020-05-26 09:34:24 -04:00
Tim Blechmann
19fda03545 Merge pull request #21 from boostorg/feature/travis-fix
travis: disable clang++/c++17
2019-08-06 07:30:02 +02:00
Tim Blechmann
1c48893ab4 travis: disable clang++/c++17
libc++ doesn't implement aligned operator new, yet
2019-08-06 12:02:00 +08:00
Tim Blechmann
48d96def31 Merge remote-tracking branch 'origin/develop' boost-1.73.0 boost-1.73.0.beta1 boost-1.72.0.beta1 boost-1.72.0 boost-1.71.0.beta1 boost-1.71.0 2019-07-05 11:44:18 +08:00
Tim Blechmann
7e9db62fa1 Merge pull request #19 from martinfalk/patch-1
Fix initialization warning in Visual Studio 2017
2019-06-17 09:54:26 +08:00
Martin Falk
f354ccd0ab Fix initialization warning in Visual Studio 2017
This fixes warning C5038 in Visual Studio 2017, which is caused by out-of-order initialization in the constructors of `heap_base`.
```
C:\dev\boost_1_70_0\boost/heap/detail/stable_heap.hpp(186): 
warning C5038: data member 'boost::heap::detail::heap_base<T,std::function<bool (ttk::SimplexId,ttk::SimplexId)>,true,unsigned __int64,false>::cmp_' will be initialized after base class 'boost::heap::detail::size_holder<true,size_t>' with [ T=ttk::SimplexId ]
```
2019-06-16 10:12:20 +02:00