John Wellbelove
a2d9b723cb
Code review updates
2026-09-24 09:14:48 +01:00
John Wellbelove
8407e5e90b
clang-format
2026-09-20 09:17:21 +01:00
John Wellbelove
435b705c90
Added runtime ans static asserts for reverse ordered limts.
2026-09-20 09:05:08 +01:00
John Wellbelove
7931d2d918
Fixed a logic issue in advance() where a less than maximum step from the minimum value for a cyclic value covering the full type's range would take the wrong logical path (Step would roll over), although calculating the correct result.
...
This could be cofusing to someone debugging cyclc_value.
2026-09-19 10:14:45 +01:00
John Wellbelove
d4ca11f966
Further optimsed advance
...
Updated docs and tests
2026-09-14 18:41:49 +01:00
Roland Reichwein
8a782cc7f1
Add more constexpr to constructors ( #1450 )
...
* Add more constexpr to ctors
* Adjust operator!=() in fixed_iterator.h
Instead of taking an iterator by reference, take it by value as
done in the other operators and overloads.
* Initialize move_iterator() current member
Prevent indeterminate values
* Fix fixed_iterator::operator* return type
fixed_iterator::operator* returned value_type by value, so writes like *it = ...
modified a temporary rather than the underlying location. This broke the
iterator’s intended use (e.g., writing to a fixed register/memory location).
Now returning iterator_traits<TIterator>::reference instead (const and
non-const overloads).
* Fixed move_iterator::operator+= and operator-= return type
move_iterator::operator+= / operator-= returned by value, but RandomAccessIterator
requirements (and std::move_iterator) expect these to return move_iterator&.
Returning by value also added an unnecessary copy and could break generic code
expecting reference semantics.
2026-05-31 19:32:38 +01:00
John Wellbelove
aeb8e4f734
Formatted source files
2026-04-02 14:11:45 +01:00
John Wellbelove
d884719098
Fixed all 'extra semicolon' warnings
2025-12-16 09:15:26 +00:00
John Wellbelove
c96cf87302
Fixed incorrect for loops in unit tests
2024-12-06 17:50:15 +00:00
John Wellbelove
937ec7189a
Make first() and last() static for template based limits specialisation
2024-04-16 08:04:49 +01:00
John Wellbelove
e67811065d
Change iterator constructor parameter from reference to pointer
...
Updated release notes
Update README.md
Added link to documentation
Additional constructors for an initial value
2023-01-26 13:30:22 +00:00
John Wellbelove
baa47d1c33
Updated copyright notice
2022-06-10 21:45:37 +01:00
John Wellbelove
dbfa71944f
Abstracted unit test framework header
2021-03-05 13:52:34 +00:00
John Wellbelove
e323f2267f
Changed http://www.etlcpp.com to https://www.etlcpp.com
2020-05-01 10:22:36 +01:00
John Wellbelove
83347ccfdd
Work in progress
2020-01-09 11:15:50 +00:00
John Wellbelove
be65eb76fe
Merge remote-tracking branch 'origin/hotfix/cyclic_value_for_unsigned' into development
...
# Conflicts:
# include/etl/version.h
2019-04-16 18:25:55 +01:00
John Wellbelove
bd008350a2
Merge remote-tracking branch 'origin/feature/changed_include_paths' into development
...
# Conflicts:
# include/etl/version.h
2018-07-28 21:55:27 +01:00
John Wellbelove
97fbb678da
Removed Git merge annotation
2017-10-02 20:40:42 +01:00
John Wellbelove
eca5de56d4
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# test/codeblocks/ETL.depend
# test/codeblocks/ETL.layout
2017-09-21 19:47:06 +01:00
John Wellbelove
26b7326d72
Updated Code::Blocks project.
...
Changed test project include paths to use unittest++ as sub-module.
2017-05-08 20:48:22 +01:00
John Wellbelove
f1c5c20ba7
Changed folder structure to be compatible with Arduino library specifications
2016-02-28 14:04:22 +00:00
John Wellbelove
8477b87e3a
Added copy constructor test
2016-01-13 18:56:23 +00:00
John Wellbelove
16a1978f43
Added link to www.etlcpp.com in licence header.
2015-12-16 11:09:56 +00:00
jwellbelove
ae385d5561
Added Github link to copyright notice.
2015-02-22 13:23:18 +00:00
jwellbelove
68816960b4
Added assignment, equality & swap tests
2014-12-08 20:26:09 +00:00
jwellbelove
9c2619ddfd
Mostly updated comments
...
Some extra tests
2014-11-21 17:10:04 +00:00
jwellbelove
1108b9e5c7
Updates for Code::Blocks and CodeLite
...
Updates so that Code::Blocks and CodeLite can compile the tests.
Made include guards upper case.
2014-11-05 17:41:17 +00:00
jwellbelove
102e4a8bed
Changed exception names
2014-11-03 12:33:05 +00:00
jwellbelove
585b494aa1
Added unit tests for new classes
2014-10-31 15:58:49 +00:00