rleigh-electradx 70d64496e6
Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526)
* Fixed make_array rejecting const-qualified lvalues of the element type

make_array forwarded each argument as T (the element type) rather than
as its own deduced type. etl::forward<T> accepts only a non-const T& or
a T&&, and a T&& cannot bind to a reference-related const lvalue, so
any call passing a const-qualified lvalue of type T failed to compile:

  static const char c = 42;
  etl::make_array<char>(c, c);   // error: would lose const qualifier

Arguments of *other* types slipped through via temporary
materialisation, which is why the existing conversion and move tests
never caught it.

Forward each argument as its own deduced type and convert explicitly
with static_cast<T>. The explicit conversion is required rather than
plain forwarding: function parameters are not constant expressions, so
narrowing initialisers such as make_array<char>(0, 1) - which the old
code accepted and the tests cover - would otherwise be rejected by the
braced initialiser list.

Adds regression tests for const/non-const lvalues of the element type
and for constexpr evaluation. Verified with clang 22 (C++14/17/20) and
GCC 14 (C++11/20); existing conversion and move-only patterns still
compile.

* Fixed make_deque rejecting const-qualified lvalues of the element type

make_deque had the same defect fixed for make_array in the previous
commit: it forwarded each argument as T (the element type) rather than
as its own deduced type. etl::forward<T> accepts only a non-const T& or
a T&&, and a T&& cannot bind to a reference-related const lvalue, so
any call passing a const-qualified lvalue of type T failed to compile:

  static const char c = 42;
  etl::make_deque<char>(c, c);   // error: would lose const qualifier

An audit of all other make_xxx container factories found no further
instances - they forward each argument as its own deduced pack type,
which is the correct idiom.

Forward each argument as its own deduced type and convert explicitly
with static_cast<T>. The explicit conversion keeps narrowing
initialisers such as make_deque<char>(0, 1) - which the old code
accepted and test_make_deque covers - working, which plain forwarding
into the braced initialiser list would reject.

Adds a regression test for const/non-const lvalues of the element type.
No constexpr test, unlike make_array: etl::deque is not a literal type,
so make_deque cannot be evaluated at compile time. Verified with
clang 22 (C++14/17/20); the new test fails to compile before the fix
and passes after, and all 101 deque tests pass.

* Added narrowing-conversion regression tests for make_array and make_deque

Review feedback on the make_deque fix: the const-lvalue regression test
only passes arguments that already have the element type, so nothing
exercises the static_cast<T> conversion that keeps narrowing
initialisers working. If the implementation regressed to plain
forwarding into the braced initialiser list, narrowing calls such as
make_deque<char>(0, 1) would fail to compile.

make_array already covered narrowing from int literals via
test_make_array, but neither container covered conversion from
const-qualified lvalues of a different type (const int narrowed to
char), which combines both dimensions of the fix.

Adds a matching test to each container covering int literals plus
const/non-const int lvalues, all narrowed to char. Verified with
clang 22 (C++17): 102 deque and 53 array tests pass.

* Added const-lvalue regression tests for the remaining make_xxx factories

Review feedback on the make_array/make_deque fixes asked whether the
same defect - rejecting const-qualified lvalue arguments by forwarding
each argument as the element type rather than as its own deduced type -
exists in the other make_xxx container factories. The audit found that
it does not: the other factories forward each argument as its own
deduced pack type. These tests pin that down explicitly for every
remaining factory, mirroring the make_array and make_deque regression
tests:

- make_vector, make_forward_list, make_indirect_vector (element type
  deduced via common_type): const/non-const char lvalues, element type
  checked.
- make_set, make_multiset, make_flat_set, make_flat_multiset,
  make_unordered_set, make_unordered_multiset: const/non-const lvalues
  of the key type.
- make_map, make_multimap, make_flat_map, make_flat_multimap,
  make_unordered_map, make_unordered_multimap: const/non-const lvalues
  of the pair type.

make_reference_flat_* are excluded: they cannot currently be
instantiated at all (no initializer_list constructor exists in the
reference containers), which is reported separately.

Verified with clang 22 (C++17): all 15 test suites pass (996 tests).

* Added make_forward_list parity tests matching the make_list fixes

Checked whether the make_list defect - taking its argument pack by
value, costing an extra move per lvalue argument - also applies to
make_forward_list. It does not: make_forward_list already takes its
pack by forwarding reference, as make_vector does. No header change is
needed.

Adds the two tests that accompanied the make_list fix so that
forward_list has the same coverage and the same regression detector:

- test_make_forward_list_common_type_from_mixed_types, confirming the
  element type deduction through common_type.
- test_make_forward_list_argument_copy_and_move_counts, an
  instrumented type counting copy/move constructions. This is the test
  that fails if the pack ever regresses to by-value (one extra move
  per lvalue argument). The exact move counts are C++17-only, as
  before C++17 the non-guaranteed return elision may add a move per
  element.

Verified with clang 22 (C++17): all 67 forward_list tests pass.

---------

Co-authored-by: Roland Reichwein <Roland.Reichwein@bmw.de>
2026-08-17 10:13:34 +02:00
..
Deprecated literal with suffix (#416) 2021-09-02 13:03:38 +01:00
etl_error_handler Support for C++26 (#1375) 2026-04-15 15:53:29 +02:00
etl_initializer_list Support for C++26 (#1375) 2026-04-15 15:53:29 +02:00
Performance/unordered_map literal with suffix (#416) 2021-09-02 13:03:38 +01:00
syntax_check Add etl::infinite_loop (#1458) 2026-06-12 08:04:24 +01:00
UnitTest++ Add bazel support (#1420) 2026-04-30 12:30:01 +02:00
vs2022 Squashed commit of the following: 2026-07-11 13:02:42 +01:00
.gitattributes Changes merged from chrono updates 2025-04-18 11:30:43 +01:00
BUILD.bazel Add bazel support (#1420) 2026-04-30 12:30:01 +02:00
CMakeLists.txt Squashed commit of the following: 2026-07-11 13:02:42 +01:00
cppcheck_macro_definitions.txt Updates to chrono classes 2025-04-18 10:50:48 +01:00
data.h Apply the rule of zero for etl::optional type. (#1426) 2026-05-08 09:33:21 +01:00
etl_profile.h Make ipriority_queue non-sized base class (#1459) 2026-06-13 11:00:39 +02:00
iterators_for_unit_tests.h Formatted source files 2026-04-02 14:11:45 +01:00
list_header_files.bat Updated syntax checks 2024-08-21 18:48:56 +01:00
list_test_files.bat Updated syntax checks 2024-08-21 18:48:56 +01:00
list_test_files.ps1 Updated syntax checks 2024-08-21 18:48:56 +01:00
list_test_files.sh Updated syntax checks 2024-08-21 18:48:56 +01:00
main.cpp Formatted source files 2026-04-02 14:11:45 +01:00
maincpp03check.cpp Formatted source files 2026-04-02 14:11:45 +01:00
meson.build Squashed commit of the following: 2026-07-11 13:02:42 +01:00
murmurhash3.cpp Formatted source files 2026-04-02 14:11:45 +01:00
murmurhash3.h Formatted source files 2026-04-02 14:11:45 +01:00
run-clang-tidy.sh Add test/run-clang-tidy.sh (#1409) 2026-05-18 08:01:17 +01:00
run-coverage.sh Fix sanitizer use (#1429) 2026-05-06 10:13:02 +01:00
run-syntax-checks.sh Simplify and fix test/run-syntax-checks.sh (#1432) 2026-05-12 20:02:32 +01:00
run-tests.sh Fix sanitizer use (#1429) 2026-05-06 10:13:02 +01:00
test_algorithm_ranges.cpp Factor out ranges tests from test_algorithm.cpp to test_algorithm_ranges.cpp (#1497) 2026-07-10 10:14:08 +01:00
test_algorithm.cpp Factor out ranges tests from test_algorithm.cpp to test_algorithm_ranges.cpp (#1497) 2026-07-10 10:14:08 +01:00
test_alignment.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_array_view.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_array_wrapper.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_array.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_atomic.cpp Make Constructors of Atomics for trivial Types constexpr (#1453) 2026-06-08 15:23:35 +01:00
test_base64_RFC2152_decoder.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC2152_encoder.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC3501_decoder.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC3501_encoder.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC4648_decoder_with_no_padding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC4648_decoder_with_padding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC4648_encoder_with_no_padding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC4648_encoder_with_padding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC4648_URL_decoder_with_no_padding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC4648_URL_decoder_with_padding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC4648_URL_encoder_with_no_padding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_base64_RFC4648_URL_encoder_with_padding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_binary.cpp Various bugfixes (#1428) 2026-05-06 18:26:10 +01:00
test_bip_buffer_spsc_atomic.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bit_stream_reader_big_endian.cpp Separate bit order and endianness in bit_stream.h (#1495) 2026-07-08 09:22:25 +01:00
test_bit_stream_reader_little_endian.cpp Separate bit order and endianness in bit_stream.h (#1495) 2026-07-08 09:22:25 +01:00
test_bit_stream_writer_big_endian.cpp Separate bit order and endianness in bit_stream.h (#1495) 2026-07-08 09:22:25 +01:00
test_bit_stream_writer_little_endian.cpp Separate bit order and endianness in bit_stream.h (#1495) 2026-07-08 09:22:25 +01:00
test_bit_stream.cpp Extensions for testing (#1380) 2026-04-15 10:47:52 +02:00
test_bit.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bitset_legacy.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bitset_new_comparisons.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bitset_new_default_element_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bitset_new_explicit_single_element_type.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_bitset_new_ext_default_element_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bitset_new_ext_explicit_single_element_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bloom_filter.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bresenham_line.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_bsd_checksum.cpp Fix sanitizer use (#1429) 2026-05-06 10:13:02 +01:00
test_buffer_descriptors.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_byte_stream.cpp Fix ambiguous byte_stream_reader construction from etl::span<uint8_t> (#1537) 2026-08-16 17:31:19 +02:00
test_byte.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_callback_service.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_callback_timer_atomic.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_callback_timer_deferred_locked.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_callback_timer_interrupt.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_callback_timer_locked.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_callback_timer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_char_traits.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_checksum.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_clocks.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_day.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_duration.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_hh_mm_ss.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_chrono_literals.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_month_day_last.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_month_day.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_month_weekday_last.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_month_weekday.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_month.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_operators.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_time_point.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_chrono_weekday_indexed.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_weekday_last.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_weekday.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_year_month_day_last.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_year_month_day.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_year_month_weekday_last.cpp Fix chrono.h year_month_weekday_last and year_month_weekday sysdays() (#1396) 2026-04-14 11:48:03 +02:00
test_chrono_year_month_weekday.cpp Fix chrono.h year_month_weekday_last and year_month_weekday sysdays() (#1396) 2026-04-14 11:48:03 +02:00
test_chrono_year_month.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_chrono_year.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_circular_buffer_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_circular_buffer.cpp Various bugfixes (#1428) 2026-05-06 18:26:10 +01:00
test_circular_iterator.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_closure_with_default_delegate_constexpr.cpp Add the ability to specify the callback type to etl closure (#1393) 2026-04-09 07:21:19 +01:00
test_closure_with_default_delegate.cpp Add the ability to specify the callback type to etl closure (#1393) 2026-04-09 07:21:19 +01:00
test_closure_with_inplace_function.cpp Add the ability to specify the callback type to etl closure (#1393) 2026-04-09 07:21:19 +01:00
test_compare.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_concepts.cpp Add invocable and further missing concepts to concepts.h (#1412) 2026-04-28 15:35:21 +02:00
test_const_map_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_map_ext_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_map_ext.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_map.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_multimap_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_multimap_ext_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_multimap_ext.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_multimap.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_multiset_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_multiset_ext_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_multiset_ext.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_multiset.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_set_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_set_ext_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_set_ext.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_const_set.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_constant.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_container.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_correlation.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_covariance.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc1.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_ccitt.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_cdma2000.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_darc.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_dvbs2.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_ebu.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_icode.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_itu.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_j1850_zero.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_j1850.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_maxim.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_nrsc5.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_opensafety.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_rohc.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc8_wcdma.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_a.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_arc.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_aug_ccitt.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_buypass.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_ccitt.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_cdma2000.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_dds110.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_dectr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_dectx.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_dnp.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_en13757.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_genibus.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_kermit.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_m17.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_maxim.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_mcrf4xx.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_modbus.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_opensafety_a.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_opensafety_b.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_profibus.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_riello.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_t10dif.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_teledisk.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_tms37157.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_usb.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_x25.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16_xmodem.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc16.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32_bzip2.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32_c.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32_d.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32_jamcrc.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32_mpeg2.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32_posix.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32_q.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32_xfer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc32.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc64_ecma.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_crc64_iso.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_cyclic_value.cpp Add more constexpr to constructors (#1450) 2026-05-31 19:32:38 +01:00
test_debounce.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_delegate_cpp03.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_delegate_observable.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_delegate_service_compile_time.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_delegate_service_cpp03.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_delegate_service.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_delegate.cpp Add constexpr support for delegate construction and assignment (#1476) 2026-06-24 16:51:02 +01:00
test_deque.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_endian.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_enum_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_error_handler.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_etl_assert.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_etl_traits.cpp Support for C++26 (#1375) 2026-04-15 15:53:29 +02:00
test_exception.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_expected.cpp Various bugfixes (#1428) 2026-05-06 18:26:10 +01:00
test_fixed_iterator.cpp Add more constexpr to constructors (#1450) 2026-05-31 19:32:38 +01:00
test_fixed_sized_memory_block_allocator.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_flags.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_flat_map.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_flat_multimap.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_flat_multiset.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_flat_set.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_fnv_1.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_format_spec.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_format.cpp Fix formatting of int8_t and uint8_t (#1551) 2026-08-14 08:59:17 +02:00
test_forward_list_shared_pool.cpp Suppress false positive compiler warnings when compiling with -O3 (#1389) 2026-04-14 12:38:59 +02:00
test_forward_list.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_fsm.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_function_traits.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_function.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_functional.cpp Add more constexpr to constructors (#1450) 2026-05-31 19:32:38 +01:00
test_gamma.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_hash.cpp Extensions for testing (#1380) 2026-04-15 10:47:52 +02:00
test_hfsm_recurse_to_inner_state_on_start.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_hfsm_transition_on_enter.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_hfsm.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_histogram.cpp Various fixes and cleanup (#1507) 2026-07-20 11:19:41 +02:00
test_index_of_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_indirect_vector_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_indirect_vector.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_inplace_function.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_instance_count.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_integral_limits.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_intrusive_avl_tree.cpp Add etl::intrusive_avl_tree class. (#1425) 2026-05-31 09:49:55 +01:00
test_intrusive_forward_list.cpp Suppress false positive compiler warnings when compiling with -O3 (#1389) 2026-04-14 12:38:59 +02:00
test_intrusive_links.cpp Add missing constexpr to intrusive_links.h constructors (#1446) 2026-05-26 04:18:27 +01:00
test_intrusive_list.cpp Suppress false positive compiler warnings when compiling with -O3 (#1389) 2026-04-14 12:38:59 +02:00
test_intrusive_queue.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_intrusive_stack.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_invert.cpp Add more constexpr to constructors (#1450) 2026-05-31 19:32:38 +01:00
test_invoke.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_io_port.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_is_invocable.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_iterator.cpp Add more constexpr to constructors (#1450) 2026-05-31 19:32:38 +01:00
test_jenkins.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_largest.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_limiter.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_limits.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_list_shared_pool.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_list.cpp Changed make_list to take its arguments by forwarding reference (#1528) 2026-08-04 10:57:25 +01:00
test_macros.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_make_string.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_manchester.cpp Add missing syntax checks (#1381) 2026-04-15 10:09:28 +02:00
test_map.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_math_functions.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_math.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_mean.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_mem_cast_ptr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_mem_cast.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_memory.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_message_broker.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_message_bus.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_message_packet.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_message_router_registry.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_message_router.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_message_timer_atomic.cpp Make Constructors of Atomics for trivial Types constexpr (#1453) 2026-06-08 15:23:35 +01:00
test_message_timer_interrupt.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_message_timer_locked.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_message_timer.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_message.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_multi_array.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_multi_range.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_multi_span.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_multi_vector.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_multimap.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_multiset.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_murmur3.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_not_null_pointer_constexpr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_not_null_pointer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_not_null_unique_pointer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_nth_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_numeric.cpp Support for C++26 (#1375) 2026-04-15 15:53:29 +02:00
test_observer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_optional.cpp Drop problematic T& emplace(const optional_impl& other) (#1478) 2026-06-29 19:43:45 +01:00
test_overload.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_packet.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_parameter_pack.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_parameter_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_parity_checksum.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_pearson.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_poly_span_dynamic_extent.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_poly_span_fixed_extent.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_pool_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_pool.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_print.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_priority_queue.cpp Make ipriority_queue non-sized base class (#1459) 2026-06-13 11:00:39 +02:00
test_pseudo_moving_average.cpp Add more constexpr to constructors (#1450) 2026-05-31 19:32:38 +01:00
test_quantize.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_lockable_small.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_lockable.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_memory_model_small.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_mpmc_mutex_small.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_mpmc_mutex.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_spsc_atomic_small.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_spsc_atomic.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_spsc_isr_small.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_spsc_isr.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_spsc_locked_small.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue_spsc_locked.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_queue.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_random.cpp Remove file writing tests for etl::random (#1474) 2026-06-24 12:37:46 +01:00
test_ranges.cpp Fix operator[] for const iota_view and repeat_view (#1525) 2026-08-04 09:01:42 +02:00
test_ratio.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_reference_flat_map.cpp Add emplace() to etl::map and further containers (#1462) 2026-06-20 10:57:06 +02:00
test_reference_flat_multimap.cpp Add emplace() to etl::map and further containers (#1462) 2026-06-20 10:57:06 +02:00
test_reference_flat_multiset.cpp Add emplace() to etl::map and further containers (#1462) 2026-06-20 10:57:06 +02:00
test_reference_flat_set.cpp Add emplace() to etl::map and further containers (#1462) 2026-06-20 10:57:06 +02:00
test_rescale.cpp Add more constexpr to constructors (#1450) 2026-05-31 19:32:38 +01:00
test_result.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_rms.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_rounded_integral_division.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_scaled_rounding.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_set.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_shared_message.cpp Make Constructors of Atomics for trivial Types constexpr (#1453) 2026-06-08 15:23:35 +01:00
test_signal.cpp Fix copy and move in signal.h (#1454) 2026-06-04 22:34:59 +01:00
test_singleton_base.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_singleton.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_smallest.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_span_dynamic_extent.cpp Add span deduction guide for types with data() and size(). (#1550) 2026-08-13 16:41:12 +02:00
test_span_fixed_extent.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_stack.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_standard_deviation.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_state_chart_compile_time_with_data_parameter.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_state_chart_compile_time.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_state_chart_with_data_parameter.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_state_chart_with_rvalue_data_parameter.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_state_chart.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_char_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_char.cpp Various bugfixes (#1428) 2026-05-06 18:26:10 +01:00
test_string_stream_u8.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_stream_u16.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_stream_u32.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_stream_wchar_t.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_stream.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_u8_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_u8.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_u16_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_u16.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_u32_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_u32.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_std_u8.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_std_u16.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_std_u32.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_std_wchar_t.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_std.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_u8.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_u16.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_u32.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities_wchar_t.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_utilities.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_view.cpp Various bugfixes (#1428) 2026-05-06 18:26:10 +01:00
test_string_wchar_t_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_string_wchar_t.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_successor.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_task_scheduler.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_threshold.cpp Add more constexpr to constructors (#1450) 2026-05-31 19:32:38 +01:00
test_to_arithmetic_u8.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_to_arithmetic_u16.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_to_arithmetic_u32.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_to_arithmetic_wchar_t.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_to_arithmetic.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_to_string.cpp to string() does not handle floating point number with integer part exceeding max uint64 t (#1455) 2026-06-08 14:16:52 +01:00
test_to_u8string.cpp to string() does not handle floating point number with integer part exceeding max uint64 t (#1455) 2026-06-08 14:16:52 +01:00
test_to_u16string.cpp to string() does not handle floating point number with integer part exceeding max uint64 t (#1455) 2026-06-08 14:16:52 +01:00
test_to_u32string.cpp to string() does not handle floating point number with integer part exceeding max uint64 t (#1455) 2026-06-08 14:16:52 +01:00
test_to_wstring.cpp to string() does not handle floating point number with integer part exceeding max uint64 t (#1455) 2026-06-08 14:16:52 +01:00
test_tuple.cpp Add etl::apply (#1509) 2026-07-16 09:15:24 +01:00
test_type_def.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_type_list.cpp Fixes and additional metafunctions for etl::type_list (#1460) 2026-06-18 10:35:20 +01:00
test_type_lookup.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_type_select.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_type_traits.cpp Fix etl::common_type decaying both arguments to T2 (#1529) 2026-08-04 19:04:19 +01:00
test_unaligned_type_ext.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_unaligned_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_uncopyable.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_unordered_map.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_unordered_multimap.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_unordered_multiset.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_unordered_set.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_user_type.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_utility.cpp Add safe integer comparisons (#1506) 2026-07-18 16:37:53 +02:00
test_variance.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_variant_legacy.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_variant_pool_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_variant_pool.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_variant_variadic.cpp Fix variant emplace to be valueless after a throwing construction (#1510) 2026-07-20 12:26:02 +02:00
test_vector_external_buffer.cpp Squashed commit of the following: 2026-07-11 13:02:42 +01:00
test_vector_function_pointer_external_buffer.cpp Various fixes and cleanup (#1507) 2026-07-20 11:19:41 +02:00
test_vector_function_pointer.cpp Various fixes and cleanup (#1507) 2026-07-20 11:19:41 +02:00
test_vector_member_function_pointer_external_buffer.cpp Various fixes and cleanup (#1507) 2026-07-20 11:19:41 +02:00
test_vector_member_function_pointer.cpp Various fixes and cleanup (#1507) 2026-07-20 11:19:41 +02:00
test_vector_non_trivial.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_vector_pointer_external_buffer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_vector_pointer.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_vector.cpp Fix make_array and make_deque rejecting const-qualified lvalues of the element type (#1526) 2026-08-17 10:13:34 +02:00
test_visitor.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_xor_checksum.cpp Formatted source files 2026-04-02 14:11:45 +01:00
test_xor_rotate_checksum.cpp Formatted source files 2026-04-02 14:11:45 +01:00
unit_test_framework.h Formatted source files 2026-04-02 14:11:45 +01:00
words.txt New hash & checksum algorithms 2015-08-19 21:00:53 +01:00