dc188b9d2f
github-actions: fix CI not detecting failed tests
2025-05-12 20:19:20 +02:00
718ce9b26a
Implement ci
2025-05-12 20:09:03 +02:00
6389462ce3
test/non-swappable-ring-buffer: add test to confirm non-swappable containers can be used
v1.0.2
2025-05-12 16:02:30 +02:00
7859656ec2
ring-buffer: fix move constructor from container not actually moving
2025-05-12 16:02:10 +02:00
3dc81a4e8e
bump version to 1.0.1
v1.0.1
2025-05-12 15:37:45 +02:00
349a24bfdb
test/constexpr-array-shim: add required import of <cstddef> for size_t
2025-05-12 15:35:58 +02:00
010362d1f6
test: add additional tests around swapping and iterators
2025-05-12 15:30:46 +02:00
ab1a477757
ring-buffer-iterator: remove unnecessary conditional noexcept
...
container_ptr is a built-in pointer type, and will always be noexcept to
swap.
2025-05-12 15:30:25 +02:00
4a019ad63c
fixes ring-buffer-iterator swap()
2025-05-12 15:29:28 +02:00
746672a6c1
ring-buffer: add support for swapping ring buffers
2025-05-12 15:28:07 +02:00
1a8b098ed0
ring-buffer-iterator: fix postfix increment/decrement
...
this silently did the wrong thing on g++ (precedence of postfix ++/--)
and didn't compile on clang++. The correct solution is to
prefix-increment, which has no precedence issues and calls the correct
function. Postfix-increment with correct precedence would have resulted
in a stack overflow anyway.
2025-05-12 15:20:33 +02:00
3bad408674
CMake: detect/features.cmake: fix try_compile if CXX_STANDARD or CXX_EXTENSIONS unset
2025-05-12 14:17:15 +02:00
d9314150c2
constexpr_array: fix compile error in constexpr_array shim
v1.0.0
2021-03-10 13:55:23 +01:00
5a6309dc28
ring_buffer_iterator: add it1 - it2 operator
2021-03-10 13:46:27 +01:00
795a4c3be7
ring_buffer_iterator: whitespace changes
2021-03-10 13:46:07 +01:00
5a021c46d0
add MIT license
2021-02-09 21:44:50 +01:00
28d44160f3
fix indentation
2020-04-22 17:05:55 +02:00
fbaf9c59a7
clarify how feature detect works
2020-04-22 16:02:57 +02:00
cd1505622b
remove default values of preprocessor defines
2020-04-22 16:02:00 +02:00
0cee667508
fix typo in overview
2020-04-22 16:00:35 +02:00
67e546234d
document header-only-ness of the library
2020-04-22 15:59:33 +02:00
59eed9f73c
document constexpr- and noexcept-ness of methods
2020-04-22 15:58:41 +02:00
1364f08e1f
basic_ring_buffer: allow to move construct from wrapped container type
2020-04-22 15:54:38 +02:00
f1562b7960
make basic_ring_buffer fulfull its own template parameter requirements
2020-04-22 15:52:07 +02:00
fd04982754
fix link
2020-04-22 15:45:59 +02:00
352069a7f0
initial documentation for iterators and ring_buffer
2020-04-22 15:44:37 +02:00
b564c50730
clarify requirement for random access iterators for the underlying container
2020-04-22 15:32:23 +02:00
a3d640c256
add documentation for basic_ring_buffer
2020-04-22 15:28:24 +02:00
b20f76ae9b
fix feature detect try_compile calls
2020-04-22 14:58:14 +02:00
824e12748f
fix typo in standard support detection
2020-04-22 14:43:09 +02:00
acaafaaf90
error out if C++11 is not supported
2020-04-18 16:03:37 +02:00
34260c53cb
fix c++98 being detected as newer than c++11
2020-04-18 15:33:56 +02:00
d67b00aa2f
add README
2020-04-18 14:52:19 +02:00
efe247c774
library.json: update srcFilter
2020-04-18 14:39:09 +02:00
da3d887413
Added library.json for platformio integration
2020-04-18 14:39:09 +02:00
7c910b79e5
also fix pointer to ref conversion for non-const iterators
2020-04-18 14:37:52 +02:00
5992de4201
Merge pull request #2 from 0xFEEDC0DE64/fix_iterator_plus_minus
...
Fixed pointer to ref conversion
2020-04-18 14:36:59 +02:00
4a9095aee7
Fixed pointer to ref conversion
2020-04-18 14:28:27 +02:00
38807a743e
don't build tests and add CXXFLAGS by default
2020-04-18 14:20:48 +02:00
fba15b1a72
add constexpr-array-shim to test constexpr on C++14
2020-04-18 14:15:25 +02:00
97c4bed1ec
fix feature detection for strong enough constexpr
2020-04-18 13:56:49 +02:00
47f3737fb4
fix ring-buffer for simple constexpr usage
2020-04-18 13:46:17 +02:00
43150587a8
remove old test file
2020-04-18 13:32:46 +02:00
76896b2fe0
add const overload for begin
2020-04-18 13:32:22 +02:00
b3afcef1b6
add more tests
2020-04-18 13:31:37 +02:00
9f289b9242
fix iterator constructor noexceptness
2020-04-18 13:17:04 +02:00
8cfb62f315
make functions constexpr or noexcept when possible
2020-04-18 13:11:55 +02:00
5feb3f4f60
add feature detection machinery
2020-04-18 12:39:58 +02:00
ce9d000673
initial import
2020-04-18 11:36:18 +02:00