Updated syntax checks

This commit is contained in:
John Wellbelove 2024-08-21 18:48:56 +01:00
parent d564bb501a
commit f77d91d544
25 changed files with 1849 additions and 1446 deletions

1
.gitignore vendored
View File

@ -387,3 +387,4 @@ examples/MutexMessageRouter/.vs
support/time remaining test.xlsx
test/vs2022/Debug MSVC C++20 - Force C++03
test/vs2022/Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser
test/test_file_list.txt

View File

@ -468,12 +468,12 @@ namespace etl
{
return etl::move(data.value());
}
#endif
private:
etl::optional<TValue> data;
};
}
} // namespace etl
#endif
#endif

View File

@ -35,6 +35,7 @@ add_executable(etl_tests
test_bip_buffer_spsc_atomic.cpp
test_bit.cpp
test_bitset_legacy.cpp
test_bitset_new_comparisons.cpp
test_bitset_new_default_element_type.cpp
test_bitset_new_explicit_single_element_type.cpp
test_bitset_new_ext_default_element_type.cpp
@ -44,12 +45,12 @@ add_executable(etl_tests
test_bit_stream_reader_little_endian.cpp
test_bit_stream_writer_big_endian.cpp
test_bit_stream_writer_little_endian.cpp
test_byte.cpp
test_byte_stream.cpp
test_bloom_filter.cpp
test_bresenham_line.cpp
test_bsd_checksum.cpp
test_buffer_descriptors.cpp
test_byte.cpp
test_byte_stream.cpp
test_callback_service.cpp
test_callback_timer.cpp
test_callback_timer_atomic.cpp
@ -109,8 +110,8 @@ add_executable(etl_tests
test_crc8_ebu.cpp
test_crc8_icode.cpp
test_crc8_itu.cpp
test_crc8_j1850_zero.cpp
test_crc8_j1850.cpp
test_crc8_j1850_zero.cpp
test_crc8_maxim.cpp
test_crc8_rohc.cpp
test_crc8_wcdma.cpp
@ -120,6 +121,7 @@ add_executable(etl_tests
test_delegate_cpp03.cpp
test_delegate_service.cpp
test_delegate_service_compile_time.cpp
test_delegate_service_cpp03.cpp
test_deque.cpp
test_endian.cpp
test_enum_type.cpp
@ -144,6 +146,7 @@ add_executable(etl_tests
test_gamma.cpp
test_hash.cpp
test_hfsm.cpp
test_hfsm_recurse_to_inner_state_on_start.cpp
test_histogram.cpp
test_indirect_vector.cpp
test_indirect_vector_external_buffer.cpp
@ -163,14 +166,16 @@ add_executable(etl_tests
test_limits.cpp
test_list.cpp
test_list_shared_pool.cpp
test_macros.cpp
test_make_string.cpp
test_map.cpp
test_math.cpp
test_math_functions.cpp
test_mean.cpp
test_memory.cpp
test_mem_cast.cpp
test_mem_cast_ptr.cpp
test_memory.cpp
test_message.cpp
test_message_broker.cpp
test_message_bus.cpp
test_message_packet.cpp
@ -184,12 +189,14 @@ add_executable(etl_tests
test_multiset.cpp
test_multi_array.cpp
test_multi_range.cpp
test_multi_span.cpp
test_multi_vector.cpp
test_murmur3.cpp
test_nth_type.cpp
test_numeric.cpp
test_observer.cpp
test_optional.cpp
test_overload.cpp
test_packet.cpp
test_parameter_pack.cpp
test_parameter_type.cpp
@ -232,32 +239,32 @@ add_executable(etl_tests
test_stack.cpp
test_standard_deviation.cpp
test_state_chart.cpp
test_state_chart_with_data_parameter.cpp
test_state_chart_with_rvalue_data_parameter.cpp
test_state_chart_compile_time.cpp
test_state_chart_compile_time_with_data_parameter.cpp
test_state_chart_with_data_parameter.cpp
test_state_chart_with_rvalue_data_parameter.cpp
test_string_char.cpp
test_string_char_external_buffer.cpp
test_string_stream.cpp
test_string_stream_u8.cpp
test_string_stream_u16.cpp
test_string_stream_u32.cpp
test_string_stream_u8.cpp
test_string_stream_wchar_t.cpp
test_string_u8.cpp
test_string_u8_external_buffer.cpp
test_string_u16.cpp
test_string_u16_external_buffer.cpp
test_string_u32.cpp
test_string_u32_external_buffer.cpp
test_string_u8.cpp
test_string_u8_external_buffer.cpp
test_string_utilities.cpp
test_string_utilities_std.cpp
test_string_utilities_std_u8.cpp
test_string_utilities_std_u16.cpp
test_string_utilities_std_u32.cpp
test_string_utilities_std_u8.cpp
test_string_utilities_std_wchar_t.cpp
test_string_utilities_u8.cpp
test_string_utilities_u16.cpp
test_string_utilities_u32.cpp
test_string_utilities_u8.cpp
test_string_utilities_wchar_t.cpp
test_string_view.cpp
test_string_wchar_t.cpp
@ -266,14 +273,14 @@ add_executable(etl_tests
test_task_scheduler.cpp
test_threshold.cpp
test_to_arithmetic.cpp
test_to_arithmetic_u8.cpp
test_to_arithmetic_u16.cpp
test_to_arithmetic_u32.cpp
test_to_arithmetic_u8.cpp
test_to_arithmetic_wchar_t.cpp
test_to_string.cpp
test_to_u8string.cpp
test_to_u16string.cpp
test_to_u32string.cpp
test_to_u8string.cpp
test_to_wstring.cpp
test_type_def.cpp
test_type_lookup.cpp
@ -289,9 +296,9 @@ add_executable(etl_tests
test_utility.cpp
test_variance.cpp
test_variant_legacy.cpp
test_variant_variadic.cpp
test_variant_pool.cpp
test_variant_pool_external_buffer.cpp
test_variant_variadic.cpp
test_vector.cpp
test_vector_external_buffer.cpp
test_vector_non_trivial.cpp

View File

@ -0,0 +1,14 @@
@echo off
setlocal enabledelayedexpansion
cd ../include/etl
> header_file_list.txt (
for %%f in (*.h) do (
echo %%~nxf
)
)
cd ../../test
endlocal

10
test/list_test_files.bat Normal file
View File

@ -0,0 +1,10 @@
@echo off
setlocal enabledelayedexpansion
> test_file_list.txt (
for %%f in (test_*.cpp) do (
echo %%~nxf
)
)
endlocal

1
test/list_test_files.ps1 Normal file
View File

@ -0,0 +1 @@
Get-ChildItem -Path "./test_*.cpp" | Select-Object -ExpandProperty Name

3
test/list_test_files.sh Normal file
View File

@ -0,0 +1,3 @@
cd ../test
ls -1 test_*.cpp > test_file_list.txt
cd ../scripts

View File

@ -26,5 +26,4 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <etl/base64_encoder.h>
#include <etl/base64_decoder.h>
#include <etl/base64.h>

View File

@ -0,0 +1,29 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2023 John Wellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <etl/base64_decoder.h>

View File

@ -0,0 +1,29 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2023 John Wellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <etl/base64_encoder.h>

View File

@ -0,0 +1,29 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2024 John Wellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <etl/bitset.h>

View File

@ -51,20 +51,21 @@ target_sources(t98 PRIVATE etl_profile.h
../array_wrapper.h.t.cpp
../atomic.h.t.cpp
../base64.h.t.cpp
../base64_decoder.h.t.cpp
../base64_encoder.h.t.cpp
../basic_format_spec.h.t.cpp
../basic_string.h.t.cpp
../basic_string_stream.h.t.cpp
../binary.h.t.cpp
../bip_buffer_spsc_atomic.h.t.cpp
../bit.h.t.cpp
../bitset_legacy.h.t.cpp
../bitset_new.h.t.cpp
../bitset.h.t.cpp
../bit_stream.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../bloom_filter.h.t.cpp
../bresenham_line.h.t.cpp
../buffer_descriptors.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../callback.h.t.cpp
../callback_service.h.t.cpp
../callback_timer.h.t.cpp
@ -81,6 +82,7 @@ target_sources(t98 PRIVATE etl_profile.h
../container.h.t.cpp
../correlation.h.t.cpp
../covariance.h.t.cpp
../crc1.h.t.cpp
../crc16.h.t.cpp
../crc16_a.h.t.cpp
../crc16_arc.h.t.cpp
@ -124,11 +126,11 @@ target_sources(t98 PRIVATE etl_profile.h
../crc8_ebu.h.t.cpp
../crc8_icode.h.t.cpp
../crc8_itu.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../crc8_maxim.h.t.cpp
../crc8_rohc.h.t.cpp
../crc8_wcdma.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../cyclic_value.h.t.cpp
../debounce.h.t.cpp
../debug_count.h.t.cpp
@ -161,8 +163,9 @@ target_sources(t98 PRIVATE etl_profile.h
../gcd.h.t.cpp
../generic_pool.h.t.cpp
../hash.h.t.cpp
../ihash.h.t.cpp
../hfsm.h.t.cpp
../histogram.h.t.cpp
../ihash.h.t.cpp
../imemory_block_allocator.h.t.cpp
../indirect_vector.h.t.cpp
../initializer_list.h.t.cpp
@ -173,6 +176,7 @@ target_sources(t98 PRIVATE etl_profile.h
../intrusive_list.h.t.cpp
../intrusive_queue.h.t.cpp
../intrusive_stack.h.t.cpp
../invert.h.t.cpp
../io_port.h.t.cpp
../ipool.h.t.cpp
../ireference_counted_message_pool.h.t.cpp
@ -189,9 +193,9 @@ target_sources(t98 PRIVATE etl_profile.h
../math.h.t.cpp
../math_constants.h.t.cpp
../mean.h.t.cpp
../mem_cast.h.t.cpp
../memory.h.t.cpp
../memory_model.h.t.cpp
../mem_cast.h.t.cpp
../message.h.t.cpp
../message_broker.h.t.cpp
../message_bus.h.t.cpp
@ -225,8 +229,8 @@ target_sources(t98 PRIVATE etl_profile.h
../pearson.h.t.cpp
../permutations.h.t.cpp
../placement_new.h.t.cpp
../poly_span.h.t.cpp
../platform.h.t.cpp
../poly_span.h.t.cpp
../pool.h.t.cpp
../power.h.t.cpp
../priority_queue.h.t.cpp
@ -249,6 +253,7 @@ target_sources(t98 PRIVATE etl_profile.h
../reference_flat_multiset.h.t.cpp
../reference_flat_set.h.t.cpp
../rescale.h.t.cpp
../result.h.t.cpp
../rms.h.t.cpp
../scaled_rounding.h.t.cpp
../scheduler.h.t.cpp
@ -263,6 +268,7 @@ target_sources(t98 PRIVATE etl_profile.h
../state_chart.h.t.cpp
../static_assert.h.t.cpp
../string.h.t.cpp
../stringify.h.t.cpp
../string_stream.h.t.cpp
../string_utilities.h.t.cpp
../string_view.h.t.cpp
@ -272,23 +278,23 @@ target_sources(t98 PRIVATE etl_profile.h
../timer.h.t.cpp
../to_arithmetic.h.t.cpp
../to_string.h.t.cpp
../to_u8string.h.t.cpp
../to_u16string.h.t.cpp
../to_u32string.h.t.cpp
../to_u8string.h.t.cpp
../to_wstring.h.t.cpp
../type_def.h.t.cpp
../type_lookup.h.t.cpp
../type_select.h.t.cpp
../type_traits.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../u16format_spec.h.t.cpp
../u16string.h.t.cpp
../u16string_stream.h.t.cpp
../u32format_spec.h.t.cpp
../u32string.h.t.cpp
../u32string_stream.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../unaligned_type.h.t.cpp
../unordered_map.h.t.cpp
../unordered_multimap.h.t.cpp
@ -297,8 +303,7 @@ target_sources(t98 PRIVATE etl_profile.h
../user_type.h.t.cpp
../utility.h.t.cpp
../variance.h.t.cpp
../variant_legacy.h.t.cpp
../variant_variadic.h.t.cpp
../variant.h.t.cpp
../variant_pool.h.t.cpp
../vector.h.t.cpp
../version.h.t.cpp

View File

@ -51,20 +51,21 @@ target_sources(t11 PRIVATE etl_profile.h
../array_wrapper.h.t.cpp
../atomic.h.t.cpp
../base64.h.t.cpp
../base64_decoder.h.t.cpp
../base64_encoder.h.t.cpp
../basic_format_spec.h.t.cpp
../basic_string.h.t.cpp
../basic_string_stream.h.t.cpp
../binary.h.t.cpp
../bip_buffer_spsc_atomic.h.t.cpp
../bit.h.t.cpp
../bitset_legacy.h.t.cpp
../bitset_new.h.t.cpp
../bitset.h.t.cpp
../bit_stream.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../bloom_filter.h.t.cpp
../bresenham_line.h.t.cpp
../buffer_descriptors.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../callback.h.t.cpp
../callback_service.h.t.cpp
../callback_timer.h.t.cpp
@ -81,6 +82,7 @@ target_sources(t11 PRIVATE etl_profile.h
../container.h.t.cpp
../correlation.h.t.cpp
../covariance.h.t.cpp
../crc1.h.t.cpp
../crc16.h.t.cpp
../crc16_a.h.t.cpp
../crc16_arc.h.t.cpp
@ -124,11 +126,11 @@ target_sources(t11 PRIVATE etl_profile.h
../crc8_ebu.h.t.cpp
../crc8_icode.h.t.cpp
../crc8_itu.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../crc8_maxim.h.t.cpp
../crc8_rohc.h.t.cpp
../crc8_wcdma.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../cyclic_value.h.t.cpp
../debounce.h.t.cpp
../debug_count.h.t.cpp
@ -161,8 +163,9 @@ target_sources(t11 PRIVATE etl_profile.h
../gcd.h.t.cpp
../generic_pool.h.t.cpp
../hash.h.t.cpp
../ihash.h.t.cpp
../hfsm.h.t.cpp
../histogram.h.t.cpp
../ihash.h.t.cpp
../imemory_block_allocator.h.t.cpp
../indirect_vector.h.t.cpp
../initializer_list.h.t.cpp
@ -173,6 +176,7 @@ target_sources(t11 PRIVATE etl_profile.h
../intrusive_list.h.t.cpp
../intrusive_queue.h.t.cpp
../intrusive_stack.h.t.cpp
../invert.h.t.cpp
../io_port.h.t.cpp
../ipool.h.t.cpp
../ireference_counted_message_pool.h.t.cpp
@ -188,11 +192,10 @@ target_sources(t11 PRIVATE etl_profile.h
../map.h.t.cpp
../math.h.t.cpp
../math_constants.h.t.cpp
../math_constants.h.t.cpp
../mean.h.t.cpp
../mem_cast.h.t.cpp
../memory.h.t.cpp
../memory_model.h.t.cpp
../mem_cast.h.t.cpp
../message.h.t.cpp
../message_broker.h.t.cpp
../message_bus.h.t.cpp
@ -226,8 +229,8 @@ target_sources(t11 PRIVATE etl_profile.h
../pearson.h.t.cpp
../permutations.h.t.cpp
../placement_new.h.t.cpp
../poly_span.h.t.cpp
../platform.h.t.cpp
../poly_span.h.t.cpp
../pool.h.t.cpp
../power.h.t.cpp
../priority_queue.h.t.cpp
@ -250,6 +253,7 @@ target_sources(t11 PRIVATE etl_profile.h
../reference_flat_multiset.h.t.cpp
../reference_flat_set.h.t.cpp
../rescale.h.t.cpp
../result.h.t.cpp
../rms.h.t.cpp
../scaled_rounding.h.t.cpp
../scheduler.h.t.cpp
@ -264,6 +268,7 @@ target_sources(t11 PRIVATE etl_profile.h
../state_chart.h.t.cpp
../static_assert.h.t.cpp
../string.h.t.cpp
../stringify.h.t.cpp
../string_stream.h.t.cpp
../string_utilities.h.t.cpp
../string_view.h.t.cpp
@ -273,23 +278,23 @@ target_sources(t11 PRIVATE etl_profile.h
../timer.h.t.cpp
../to_arithmetic.h.t.cpp
../to_string.h.t.cpp
../to_u8string.h.t.cpp
../to_u16string.h.t.cpp
../to_u32string.h.t.cpp
../to_u8string.h.t.cpp
../to_wstring.h.t.cpp
../type_def.h.t.cpp
../type_lookup.h.t.cpp
../type_select.h.t.cpp
../type_traits.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../u16format_spec.h.t.cpp
../u16string.h.t.cpp
../u16string_stream.h.t.cpp
../u32format_spec.h.t.cpp
../u32string.h.t.cpp
../u32string_stream.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../unaligned_type.h.t.cpp
../unordered_map.h.t.cpp
../unordered_multimap.h.t.cpp
@ -298,8 +303,7 @@ target_sources(t11 PRIVATE etl_profile.h
../user_type.h.t.cpp
../utility.h.t.cpp
../variance.h.t.cpp
../variant_legacy.h.t.cpp
../variant_variadic.h.t.cpp
../variant.h.t.cpp
../variant_pool.h.t.cpp
../vector.h.t.cpp
../version.h.t.cpp

View File

@ -51,20 +51,21 @@ target_sources(t14 PRIVATE etl_profile.h
../array_wrapper.h.t.cpp
../atomic.h.t.cpp
../base64.h.t.cpp
../base64_decoder.h.t.cpp
../base64_encoder.h.t.cpp
../basic_format_spec.h.t.cpp
../basic_string.h.t.cpp
../basic_string_stream.h.t.cpp
../binary.h.t.cpp
../bip_buffer_spsc_atomic.h.t.cpp
../bit.h.t.cpp
../bitset_legacy.h.t.cpp
../bitset_new.h.t.cpp
../bitset.h.t.cpp
../bit_stream.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../bloom_filter.h.t.cpp
../bresenham_line.h.t.cpp
../buffer_descriptors.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../callback.h.t.cpp
../callback_service.h.t.cpp
../callback_timer.h.t.cpp
@ -81,6 +82,7 @@ target_sources(t14 PRIVATE etl_profile.h
../container.h.t.cpp
../correlation.h.t.cpp
../covariance.h.t.cpp
../crc1.h.t.cpp
../crc16.h.t.cpp
../crc16_a.h.t.cpp
../crc16_arc.h.t.cpp
@ -124,11 +126,11 @@ target_sources(t14 PRIVATE etl_profile.h
../crc8_ebu.h.t.cpp
../crc8_icode.h.t.cpp
../crc8_itu.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../crc8_maxim.h.t.cpp
../crc8_rohc.h.t.cpp
../crc8_wcdma.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../cyclic_value.h.t.cpp
../debounce.h.t.cpp
../debug_count.h.t.cpp
@ -161,8 +163,9 @@ target_sources(t14 PRIVATE etl_profile.h
../gcd.h.t.cpp
../generic_pool.h.t.cpp
../hash.h.t.cpp
../ihash.h.t.cpp
../hfsm.h.t.cpp
../histogram.h.t.cpp
../ihash.h.t.cpp
../imemory_block_allocator.h.t.cpp
../indirect_vector.h.t.cpp
../initializer_list.h.t.cpp
@ -173,6 +176,7 @@ target_sources(t14 PRIVATE etl_profile.h
../intrusive_list.h.t.cpp
../intrusive_queue.h.t.cpp
../intrusive_stack.h.t.cpp
../invert.h.t.cpp
../io_port.h.t.cpp
../ipool.h.t.cpp
../ireference_counted_message_pool.h.t.cpp
@ -189,9 +193,9 @@ target_sources(t14 PRIVATE etl_profile.h
../math.h.t.cpp
../math_constants.h.t.cpp
../mean.h.t.cpp
../mem_cast.h.t.cpp
../memory.h.t.cpp
../memory_model.h.t.cpp
../mem_cast.h.t.cpp
../message.h.t.cpp
../message_broker.h.t.cpp
../message_bus.h.t.cpp
@ -225,8 +229,8 @@ target_sources(t14 PRIVATE etl_profile.h
../pearson.h.t.cpp
../permutations.h.t.cpp
../placement_new.h.t.cpp
../poly_span.h.t.cpp
../platform.h.t.cpp
../poly_span.h.t.cpp
../pool.h.t.cpp
../power.h.t.cpp
../priority_queue.h.t.cpp
@ -249,6 +253,7 @@ target_sources(t14 PRIVATE etl_profile.h
../reference_flat_multiset.h.t.cpp
../reference_flat_set.h.t.cpp
../rescale.h.t.cpp
../result.h.t.cpp
../rms.h.t.cpp
../scaled_rounding.h.t.cpp
../scheduler.h.t.cpp
@ -263,6 +268,7 @@ target_sources(t14 PRIVATE etl_profile.h
../state_chart.h.t.cpp
../static_assert.h.t.cpp
../string.h.t.cpp
../stringify.h.t.cpp
../string_stream.h.t.cpp
../string_utilities.h.t.cpp
../string_view.h.t.cpp
@ -272,23 +278,23 @@ target_sources(t14 PRIVATE etl_profile.h
../timer.h.t.cpp
../to_arithmetic.h.t.cpp
../to_string.h.t.cpp
../to_u8string.h.t.cpp
../to_u16string.h.t.cpp
../to_u32string.h.t.cpp
../to_u8string.h.t.cpp
../to_wstring.h.t.cpp
../type_def.h.t.cpp
../type_lookup.h.t.cpp
../type_select.h.t.cpp
../type_traits.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../u16format_spec.h.t.cpp
../u16string.h.t.cpp
../u16string_stream.h.t.cpp
../u32format_spec.h.t.cpp
../u32string.h.t.cpp
../u32string_stream.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../unaligned_type.h.t.cpp
../unordered_map.h.t.cpp
../unordered_multimap.h.t.cpp
@ -297,8 +303,7 @@ target_sources(t14 PRIVATE etl_profile.h
../user_type.h.t.cpp
../utility.h.t.cpp
../variance.h.t.cpp
../variant_legacy.h.t.cpp
../variant_variadic.h.t.cpp
../variant.h.t.cpp
../variant_pool.h.t.cpp
../vector.h.t.cpp
../version.h.t.cpp

View File

@ -51,20 +51,21 @@ target_sources(t17 PRIVATE etl_profile.h
../array_wrapper.h.t.cpp
../atomic.h.t.cpp
../base64.h.t.cpp
../base64_decoder.h.t.cpp
../base64_encoder.h.t.cpp
../basic_format_spec.h.t.cpp
../basic_string.h.t.cpp
../basic_string_stream.h.t.cpp
../binary.h.t.cpp
../bip_buffer_spsc_atomic.h.t.cpp
../bit.h.t.cpp
../bitset_legacy.h.t.cpp
../bitset_new.h.t.cpp
../bitset.h.t.cpp
../bit_stream.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../bloom_filter.h.t.cpp
../bresenham_line.h.t.cpp
../buffer_descriptors.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../callback.h.t.cpp
../callback_service.h.t.cpp
../callback_timer.h.t.cpp
@ -81,6 +82,7 @@ target_sources(t17 PRIVATE etl_profile.h
../container.h.t.cpp
../correlation.h.t.cpp
../covariance.h.t.cpp
../crc1.h.t.cpp
../crc16.h.t.cpp
../crc16_a.h.t.cpp
../crc16_arc.h.t.cpp
@ -124,11 +126,11 @@ target_sources(t17 PRIVATE etl_profile.h
../crc8_ebu.h.t.cpp
../crc8_icode.h.t.cpp
../crc8_itu.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../crc8_maxim.h.t.cpp
../crc8_rohc.h.t.cpp
../crc8_wcdma.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../cyclic_value.h.t.cpp
../debounce.h.t.cpp
../debug_count.h.t.cpp
@ -161,8 +163,9 @@ target_sources(t17 PRIVATE etl_profile.h
../gcd.h.t.cpp
../generic_pool.h.t.cpp
../hash.h.t.cpp
../ihash.h.t.cpp
../hfsm.h.t.cpp
../histogram.h.t.cpp
../ihash.h.t.cpp
../imemory_block_allocator.h.t.cpp
../indirect_vector.h.t.cpp
../initializer_list.h.t.cpp
@ -173,6 +176,7 @@ target_sources(t17 PRIVATE etl_profile.h
../intrusive_list.h.t.cpp
../intrusive_queue.h.t.cpp
../intrusive_stack.h.t.cpp
../invert.h.t.cpp
../io_port.h.t.cpp
../ipool.h.t.cpp
../ireference_counted_message_pool.h.t.cpp
@ -189,9 +193,9 @@ target_sources(t17 PRIVATE etl_profile.h
../math.h.t.cpp
../math_constants.h.t.cpp
../mean.h.t.cpp
../mem_cast.h.t.cpp
../memory.h.t.cpp
../memory_model.h.t.cpp
../mem_cast.h.t.cpp
../message.h.t.cpp
../message_broker.h.t.cpp
../message_bus.h.t.cpp
@ -225,8 +229,8 @@ target_sources(t17 PRIVATE etl_profile.h
../pearson.h.t.cpp
../permutations.h.t.cpp
../placement_new.h.t.cpp
../poly_span.h.t.cpp
../platform.h.t.cpp
../poly_span.h.t.cpp
../pool.h.t.cpp
../power.h.t.cpp
../priority_queue.h.t.cpp
@ -249,6 +253,7 @@ target_sources(t17 PRIVATE etl_profile.h
../reference_flat_multiset.h.t.cpp
../reference_flat_set.h.t.cpp
../rescale.h.t.cpp
../result.h.t.cpp
../rms.h.t.cpp
../scaled_rounding.h.t.cpp
../scheduler.h.t.cpp
@ -263,6 +268,7 @@ target_sources(t17 PRIVATE etl_profile.h
../state_chart.h.t.cpp
../static_assert.h.t.cpp
../string.h.t.cpp
../stringify.h.t.cpp
../string_stream.h.t.cpp
../string_utilities.h.t.cpp
../string_view.h.t.cpp
@ -272,23 +278,23 @@ target_sources(t17 PRIVATE etl_profile.h
../timer.h.t.cpp
../to_arithmetic.h.t.cpp
../to_string.h.t.cpp
../to_u8string.h.t.cpp
../to_u16string.h.t.cpp
../to_u32string.h.t.cpp
../to_u8string.h.t.cpp
../to_wstring.h.t.cpp
../type_def.h.t.cpp
../type_lookup.h.t.cpp
../type_select.h.t.cpp
../type_traits.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../u16format_spec.h.t.cpp
../u16string.h.t.cpp
../u16string_stream.h.t.cpp
../u32format_spec.h.t.cpp
../u32string.h.t.cpp
../u32string_stream.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../unaligned_type.h.t.cpp
../unordered_map.h.t.cpp
../unordered_multimap.h.t.cpp
@ -297,8 +303,7 @@ target_sources(t17 PRIVATE etl_profile.h
../user_type.h.t.cpp
../utility.h.t.cpp
../variance.h.t.cpp
../variant_legacy.h.t.cpp
../variant_variadic.h.t.cpp
../variant.h.t.cpp
../variant_pool.h.t.cpp
../vector.h.t.cpp
../version.h.t.cpp

View File

@ -51,20 +51,21 @@ target_sources(t20 PRIVATE etl_profile.h
../array_wrapper.h.t.cpp
../atomic.h.t.cpp
../base64.h.t.cpp
../base64_decoder.h.t.cpp
../base64_encoder.h.t.cpp
../basic_format_spec.h.t.cpp
../basic_string.h.t.cpp
../basic_string_stream.h.t.cpp
../binary.h.t.cpp
../bip_buffer_spsc_atomic.h.t.cpp
../bit.h.t.cpp
../bitset_legacy.h.t.cpp
../bitset_new.h.t.cpp
../bitset.h.t.cpp
../bit_stream.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../bloom_filter.h.t.cpp
../bresenham_line.h.t.cpp
../buffer_descriptors.h.t.cpp
../byte.h.t.cpp
../byte_stream.h.t.cpp
../callback.h.t.cpp
../callback_service.h.t.cpp
../callback_timer.h.t.cpp
@ -81,6 +82,7 @@ target_sources(t20 PRIVATE etl_profile.h
../container.h.t.cpp
../correlation.h.t.cpp
../covariance.h.t.cpp
../crc1.h.t.cpp
../crc16.h.t.cpp
../crc16_a.h.t.cpp
../crc16_arc.h.t.cpp
@ -124,11 +126,11 @@ target_sources(t20 PRIVATE etl_profile.h
../crc8_ebu.h.t.cpp
../crc8_icode.h.t.cpp
../crc8_itu.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../crc8_maxim.h.t.cpp
../crc8_rohc.h.t.cpp
../crc8_wcdma.h.t.cpp
../crc8_j1850.h.t.cpp
../crc8_j1850_zero.h.t.cpp
../cyclic_value.h.t.cpp
../debounce.h.t.cpp
../debug_count.h.t.cpp
@ -161,8 +163,9 @@ target_sources(t20 PRIVATE etl_profile.h
../gcd.h.t.cpp
../generic_pool.h.t.cpp
../hash.h.t.cpp
../ihash.h.t.cpp
../hfsm.h.t.cpp
../histogram.h.t.cpp
../ihash.h.t.cpp
../imemory_block_allocator.h.t.cpp
../indirect_vector.h.t.cpp
../initializer_list.h.t.cpp
@ -173,6 +176,7 @@ target_sources(t20 PRIVATE etl_profile.h
../intrusive_list.h.t.cpp
../intrusive_queue.h.t.cpp
../intrusive_stack.h.t.cpp
../invert.h.t.cpp
../io_port.h.t.cpp
../ipool.h.t.cpp
../ireference_counted_message_pool.h.t.cpp
@ -189,9 +193,9 @@ target_sources(t20 PRIVATE etl_profile.h
../math.h.t.cpp
../math_constants.h.t.cpp
../mean.h.t.cpp
../mem_cast.h.t.cpp
../memory.h.t.cpp
../memory_model.h.t.cpp
../mem_cast.h.t.cpp
../message.h.t.cpp
../message_broker.h.t.cpp
../message_bus.h.t.cpp
@ -225,8 +229,8 @@ target_sources(t20 PRIVATE etl_profile.h
../pearson.h.t.cpp
../permutations.h.t.cpp
../placement_new.h.t.cpp
../poly_span.h.t.cpp
../platform.h.t.cpp
../poly_span.h.t.cpp
../pool.h.t.cpp
../power.h.t.cpp
../priority_queue.h.t.cpp
@ -249,6 +253,7 @@ target_sources(t20 PRIVATE etl_profile.h
../reference_flat_multiset.h.t.cpp
../reference_flat_set.h.t.cpp
../rescale.h.t.cpp
../result.h.t.cpp
../rms.h.t.cpp
../scaled_rounding.h.t.cpp
../scheduler.h.t.cpp
@ -263,6 +268,7 @@ target_sources(t20 PRIVATE etl_profile.h
../state_chart.h.t.cpp
../static_assert.h.t.cpp
../string.h.t.cpp
../stringify.h.t.cpp
../string_stream.h.t.cpp
../string_utilities.h.t.cpp
../string_view.h.t.cpp
@ -272,23 +278,23 @@ target_sources(t20 PRIVATE etl_profile.h
../timer.h.t.cpp
../to_arithmetic.h.t.cpp
../to_string.h.t.cpp
../to_u8string.h.t.cpp
../to_u16string.h.t.cpp
../to_u32string.h.t.cpp
../to_u8string.h.t.cpp
../to_wstring.h.t.cpp
../type_def.h.t.cpp
../type_lookup.h.t.cpp
../type_select.h.t.cpp
../type_traits.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../u16format_spec.h.t.cpp
../u16string.h.t.cpp
../u16string_stream.h.t.cpp
../u32format_spec.h.t.cpp
../u32string.h.t.cpp
../u32string_stream.h.t.cpp
../u8format_spec.h.t.cpp
../u8string.h.t.cpp
../u8string_stream.h.t.cpp
../unaligned_type.h.t.cpp
../unordered_map.h.t.cpp
../unordered_multimap.h.t.cpp
@ -297,8 +303,7 @@ target_sources(t20 PRIVATE etl_profile.h
../user_type.h.t.cpp
../utility.h.t.cpp
../variance.h.t.cpp
../variant_legacy.h.t.cpp
../variant_variadic.h.t.cpp
../variant.h.t.cpp
../variant_pool.h.t.cpp
../vector.h.t.cpp
../version.h.t.cpp

View File

@ -0,0 +1,29 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2024 John Wellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <etl/crc1.h>

View File

@ -5,7 +5,7 @@ Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2021 Bo Rydberg
Copyright(c) 2024 John Wellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal

View File

@ -0,0 +1,29 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2024 John Wellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <etl/hfsm.h>

View File

@ -0,0 +1,29 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2024 John Wellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <etl/result.h>

View File

@ -0,0 +1,29 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2024 John Wellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <etl/stringify.h>

View File

@ -1,88 +0,0 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2021 jwellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include "unit_test_framework.h"
#include "etl/experimental/mem_type.h"
#include "etl/largest.h"
#include <array>
#include <vector>
#include <algorithm>
#include <string>
namespace
{
struct Data
{
char c;
short s;
std::array<int, 10> a;
};
// Test variant types.
using MemType = etl::mem_type<etl::largest<char, double, Data>::size,
etl::largest<char, double, Data>::alignment>;
SUITE(test_mem_type)
{
TEST(test_alignment)
{
MemType memType;
CHECK(alignof(char) <= MemType::Alignment);
CHECK(alignof(short) <= MemType::Alignment);
CHECK(alignof(Data) <= MemType::Alignment);
CHECK(alignof(char) <= memType.Alignment);
CHECK(alignof(short) <= memType.Alignment);
CHECK(alignof(Data) <= memType.Alignment);
CHECK(alignof(char) <= memType.alignment());
CHECK(alignof(short) <= memType.alignment());
CHECK(alignof(Data) <= memType.alignment());
}
TEST(test_size)
{
MemType memType;
CHECK(sizeof(char) <= MemType::Size);
CHECK(sizeof(short) <= MemType::Size);
CHECK(sizeof(Data) <= MemType::Size);
CHECK(sizeof(char) <= memType.Size);
CHECK(sizeof(short) <= memType.Size);
CHECK(sizeof(Data) <= memType.Size);
CHECK(sizeof(char) <= memType.size());
CHECK(sizeof(short) <= memType.size());
CHECK(sizeof(Data) <= memType.size());
}
};
}

View File

@ -61,9 +61,9 @@ namespace
struct Visitor
{
void operator ()(int i) { result.bi = true; }
void operator ()(double d) { result.bd = true; }
void operator ()(const std::string& s) { result.bs = true; }
void operator ()(int) { result.bi = true; }
void operator ()(double) { result.bd = true; }
void operator ()(const std::string&) { result.bs = true; }
};
template <typename T, typename TOverload>
@ -77,18 +77,18 @@ namespace
//*************************************************************************
TEST(test_overload_lambdas_make_overload)
{
auto overload = etl::make_overload([](int i) { result.bi = true; },
[](double d) { result.bd = true; },
[](const std::string& s) { result.bs = true; });
auto overload = etl::make_overload([](int) { result.bi = true; },
[](double) { result.bd = true; },
[](const std::string&) { result.bs = true; });
result.clear();
Function(int(1), overload);
Function(1, overload);
CHECK(result.bi == true);
CHECK(result.bd == false);
CHECK(result.bs == false);
result.clear();
Function(double(2.0), overload);
Function(2.0, overload);
CHECK(result.bi == false);
CHECK(result.bd == true);
CHECK(result.bs == false);
@ -105,22 +105,22 @@ namespace
TEST(test_overload_lambdas_initializer_list)
{
result.clear();
Function(int(1), etl::overload
Function(1, etl::overload
{
[](int i) { result.bi = true; },
[](double d) { result.bd = true; },
[](const std::string& s) { result.bs = true; }
[](int) { result.bi = true; },
[](double) { result.bd = true; },
[](const std::string&) { result.bs = true; }
});
CHECK(result.bi == true);
CHECK(result.bd == false);
CHECK(result.bs == false);
result.clear();
Function(double(2.0), etl::overload
Function(2.0, etl::overload
{
[](int i) { result.bi = true; },
[](double d) { result.bd = true; },
[](const std::string& s) { result.bs = true; }
[](int) { result.bi = true; },
[](double) { result.bd = true; },
[](const std::string&) { result.bs = true; }
});
CHECK(result.bi == false);
CHECK(result.bd == true);
@ -129,9 +129,9 @@ namespace
result.clear();
Function(std::string("3"), etl::overload
{
[](int i) { result.bi = true; },
[](double d) { result.bd = true; },
[](const std::string& s) { result.bs = true; }
[](int) { result.bi = true; },
[](double) { result.bd = true; },
[](const std::string&) { result.bs = true; }
});
CHECK(result.bi == false);
CHECK(result.bd == false);
@ -145,13 +145,13 @@ namespace
auto overload = etl::make_overload(Visitor());
result.clear();
Function(int(1), overload);
Function(1, overload);
CHECK(result.bi == true);
CHECK(result.bd == false);
CHECK(result.bs == false);
result.clear();
Function(double(2.0), overload);
Function(2.0, overload);
CHECK(result.bi == false);
CHECK(result.bd == true);
CHECK(result.bs == false);

View File

@ -3818,6 +3818,62 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\base64_decoder.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\base64_encoder.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\basic_format_spec.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
@ -3908,6 +3964,34 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\bitset.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\bitset_legacy.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
@ -4268,6 +4352,34 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\crc1.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\crc16.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
@ -5483,6 +5595,34 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\hfsm.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\histogram.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
@ -6818,6 +6958,34 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\result.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\rms.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
@ -7028,6 +7196,34 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\stringify.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++ 20 - No Tests|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++17 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release MSVC C++20 - Optimised O2|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual messages|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++14 - No STL|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - Force C++03|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\syntax_check\string_stream.h.t.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug MSVC C++20 - No virtual imessage|Win32'">true</ExcludedFromBuild>
@ -8857,6 +9053,9 @@
<None Include="..\..\scripts\update_release.py" />
<None Include="..\..\scripts\update_version.bat" />
<None Include="..\..\scripts\update_version.py" />
<None Include="..\list_test_files.bat" />
<None Include="..\list_test_files.ps1" />
<None Include="..\list_test_files.sh" />
<None Include="..\meson.build" />
<None Include="..\run-syntax-checks.sh" />
<None Include="..\run-tests.sh" />

View File

@ -3365,6 +3365,27 @@
<ClCompile Include="..\test_base64_RFC4648_URL_decoder_with_padding.cpp">
<Filter>Tests\Codecs\Base64</Filter>
</ClCompile>
<ClCompile Include="..\syntax_check\base64_decoder.h.t.cpp">
<Filter>Tests\Syntax Checks\Source</Filter>
</ClCompile>
<ClCompile Include="..\syntax_check\base64_encoder.h.t.cpp">
<Filter>Tests\Syntax Checks\Source</Filter>
</ClCompile>
<ClCompile Include="..\syntax_check\bitset.h.t.cpp">
<Filter>Tests\Syntax Checks\Source</Filter>
</ClCompile>
<ClCompile Include="..\syntax_check\crc1.h.t.cpp">
<Filter>Tests\Syntax Checks\Source</Filter>
</ClCompile>
<ClCompile Include="..\syntax_check\hfsm.h.t.cpp">
<Filter>Tests\Syntax Checks\Source</Filter>
</ClCompile>
<ClCompile Include="..\syntax_check\result.h.t.cpp">
<Filter>Tests\Syntax Checks\Source</Filter>
</ClCompile>
<ClCompile Include="..\syntax_check\stringify.h.t.cpp">
<Filter>Tests\Syntax Checks\Source</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\library.properties">
@ -3511,6 +3532,15 @@
<None Include="..\..\.github\workflows\gcc-c++20.yml">
<Filter>Resource Files\CI\Github</Filter>
</None>
<None Include="..\list_test_files.bat">
<Filter>Tests\Scripts</Filter>
</None>
<None Include="..\list_test_files.ps1">
<Filter>Tests\Scripts</Filter>
</None>
<None Include="..\list_test_files.sh">
<Filter>Tests\Scripts</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Text Include="..\..\support\Release notes.txt">