Commit 78bc78a
committed
c++20:add a compat. wrapper for std::allocator
problem: C++20 removes deprecated entries from the allocator interface.
The boost::multi_index_container relies on some of these members until
1.67.0, one version higher than ships on TOSS4.
solution: add a custom allocator that adds the removed fields on top of
a std::allocator, and use that with boost::multi_index_container.1 parent 8becb9f commit 78bc78a
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
38 | 51 | | |
39 | 52 | | |
40 | 53 | | |
| |||
47 | 60 | | |
48 | 61 | | |
49 | 62 | | |
50 | | - | |
| 63 | + | |
| 64 | + | |
51 | 65 | | |
52 | 66 | | |
53 | 67 | | |
| |||
0 commit comments