37289c5d92
Add to_array
2025-02-23 20:45:50 +02:00
84d0f84c9b
Check for the existence of <compare>, include it, use it; 0 <=> 0 doesn't work without it anyway.
2025-01-29 04:03:41 +02:00
75db85d1e9
Suppress MSVC unreachable code warnings
2025-01-27 18:23:43 +02:00
49e2a46c3a
Enable warnings=extra, warnings-as-errors=on in test suite
2025-01-27 17:41:50 +02:00
68db6ebd2d
Add operator<=> overload for zero-sized arrays
2025-01-27 03:59:32 +02:00
9a4010b88b
Add operator<=>, array_thw_test.cpp
2025-01-27 03:40:19 +02:00
567ba40840
Add a dummy element to array<T, 0> to enable initialization with = {{}}
2025-01-26 21:15:39 +02:00
b147799665
Remove local hash_value overload; boost::hash supports array-like types natively.
2025-01-26 20:35:19 +02:00
89f09e33f1
Change array<T, 0>::begin() to return nullptr and make it constexpr.
2025-01-26 19:21:39 +02:00
c95d855018
Remove obsolete workaround from failed_rangecheck
2025-01-26 08:09:41 +02:00
cd0532b8fa
Remove inclusion of <algorithm>
2025-01-26 05:08:42 +02:00
55bc631d40
Remove use of core/invoke_swap
2025-01-26 04:08:06 +02:00
435b293467
Mark std::get
illegal overloads as deprecated
2025-01-26 03:16:23 +02:00
6447b408b2
Remove idef-ed out overload of get_c_array
2025-01-26 03:10:59 +02:00
17b49d86ad
Mark get_c_array
as deprecated
2025-01-26 03:10:23 +02:00
fe60e163c7
Remove obsolete Sun workaround
2025-01-26 03:07:53 +02:00
16280f660b
Mark assign
as deprecated
2025-01-26 03:06:28 +02:00
16b6ba8d84
Mark c_array as deprecated
2025-01-25 23:20:31 +02:00
f5a3f1b34a
Remove obsolete reverse_iterator workarounds
2025-01-25 23:12:34 +02:00
9e2868f8e2
Reorder includes
2025-01-25 23:10:41 +02:00
4f2ed73766
Add array_get_test_cx.cpp
2025-01-25 21:20:12 +02:00
b32a6cfcfd
Work around GCC 5..8 constexpr comparison failures
2025-01-25 20:59:46 +02:00
5c05254afb
Add array_lt_test_cx.cpp
2025-01-25 20:32:38 +02:00
a211468866
Add array_eq_test_cx.cpp
2025-01-25 20:24:15 +02:00
8c5f36ae52
array<T, 0> access operations are never constexpr
2025-01-15 20:18:14 +02:00
9d6b871972
Work around GCC 4.x constexpr failure in operator[]
2025-01-15 19:57:39 +02:00
79ca787bfe
Add more constexpr to match std::array
2025-01-12 03:31:49 +02:00
0da094a21d
Add BOOST_NOEXCEPT as needed to match std::array
2025-01-12 03:31:49 +02:00
2099995189
Uncomment BOOST_CONSTEXPR; update and enable test/array_constexpr.cpp
2025-01-12 03:31:49 +02:00
b19ce675ad
Trim trailing spaces.
2023-09-03 00:06:37 +03:00
c774c93b3b
Switch to boost::core::invoke_swap.
...
boost::swap is deprecated and will be removed. Use boost::core::invoke_swap
as a replacement.
2023-09-03 00:05:33 +03:00
4647fc7095
refactor: use core/swap.hpp over boost/swap.hpp
...
The later is deprecated:
```cpp
ifndef BOOST_SWAP_HPP
define BOOST_SWAP_HPP
// The header file at this path is deprecated;
// use boost/core/swap.hpp instead.
include <boost/core/swap.hpp>
endif
```
2022-08-23 15:55:19 +01:00
e329330031
Avoid using deprecated header iterator.hpp
...
<boost/detail/iterator.hpp> is marked deprecated and is going to be removed in a future release. Replace it with <iterator> to avoid deprecation warnings.
2020-05-10 19:39:21 +03:00
b279a9005b
Fix off-by-one error in range-checking for 'at()'. thanks to DHilbrich for the bug report.
2019-02-07 07:52:11 -08:00
5d06f1074a
Fix compilation for Oracle Studio 12.5
...
The compiler expects a qualified dependent name after `typename`, so move `const` after the name.
2017-01-24 02:31:27 +04:00
cb4df41bd6
Replace inclusion of hash_fwd.hpp with a declaration of hash_range
2015-01-09 00:01:41 +02:00
4584f63f01
Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
[SVN r86248]
2013-10-11 23:20:59 +00:00
2e0052d49f
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifndef...#endif conditions.
[SVN r86244]
2013-10-11 23:15:00 +00:00
6ad6249e1c
Array: Remove obsolete MSVC version check.
...
[SVN r85903]
2013-09-25 13:51:37 +00:00
12fcbb59c2
Back out some of the constexpr support Boost.Array; it crashes gcc
...
[SVN r82906]
2013-02-15 17:11:09 +00:00
4a60b8c146
Add constexpr support to Boost.Array
...
[SVN r82834]
2013-02-12 18:07:15 +00:00
e02e7dcc00
Add boost::get<> support to Boost.Array
...
[SVN r82089]
2012-12-19 00:53:31 +00:00
daeb19f693
Add support for std::get<> to Boost.Array
...
[SVN r82083]
2012-12-18 17:59:08 +00:00
f4a0cbd364
Added support for Boost.Hash to Boost.Array; fixes #6791
...
[SVN r77976]
2012-04-14 18:07:34 +00:00
992299f2bf
Use BOOST_ASSERT_MSG instead of naked BOOST_ASSERT
...
[SVN r77135]
2012-02-28 18:47:28 +00:00
e6a44cf529
Removed tabs
...
[SVN r70442]
2011-03-22 23:55:20 +00:00
5072c551ec
Pathscale-4.0 configuration code/workarounds.
...
[SVN r68142]
2011-01-14 02:59:34 +00:00
97e912e82e
Added crbegin and crend to Boost.Array; refs #4761 . Will close ticket when merged to release branch
...
[SVN r67481]
2010-12-28 19:14:23 +00:00
05aa660128
Added cbegin and cend to Boost.Array; refs #4761 . Will close ticket when merged to release branch
...
[SVN r67478]
2010-12-28 18:39:14 +00:00
5329bd6f1c
Slight tweak of get_c_array
...
[SVN r66712]
2010-11-24 16:13:12 +00:00