5106 Commits

Author SHA1 Message Date
John Wellbelove
fcbbbeaf44 #1009 etl::expected doesn't compile with legacy_variant
Added in_place constructor
2025-02-01 08:59:20 +00:00
John Wellbelove
bbaa60b382 Added debug info to GCC CMakeList.txt 2025-01-31 14:27:35 +00:00
John Wellbelove
d0468d813c Changed etl::addressof to etl::to_address 2025-01-28 11:16:34 +00:00
John Wellbelove
ad9bda90bc Added etl::to_address 2025-01-28 11:16:04 +00:00
John Wellbelove
1da482d616 Updated CRC constexpr tests for 'force C++03 implementation' option 2025-01-27 19:04:30 +00:00
John Wellbelove
b7bbd44d8e Merge branch 'development' of https://github.com/ETLCPP/etl into development 2025-01-25 10:42:33 +00:00
MichaelFeistETC
d3aba6033f
#968 Swap PROJECT_IS_TOP_LEVEL called before project() (#1015) 2025-01-24 17:54:26 +00:00
John Wellbelove
42dae979da Merge branch 'pull-request/#1016-Allow-compile-time-CRC-calculation' into development 2025-01-24 17:49:04 +00:00
John Wellbelove
b3f7d82900 Added constexpr to CRC1 2025-01-24 17:48:43 +00:00
Zob314
14b50c6541
Allow compile time CRC calculation (#1016)
* Making crc constexpr for c++14. Allows compile time CRC computation.

* Fix syntax when using c++03 or `ETL_FORCE_NO_ADVANCED_CPP`

* Remove use of `ETL_FORCE_NO_ADVANCED_CPP` option since it is no longer used.

---------

Co-authored-by: Zach O'Brien <zach.obrien@tortugaagtech.com>
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2025-01-24 15:20:05 +00:00
John Wellbelove
a0668ff27f Fixed etl::expected in-place test syntax 2025-01-24 14:32:33 +00:00
John Wellbelove
c3d3a326f7 Merge branch 'pull-request/#1014-Added-missing-rational-arithmetic-functions-from-ratio' into development
# Conflicts:
#	.gitignore
#	test/vs2022/etl.vcxproj.filters
2025-01-23 09:40:42 +00:00
John Wellbelove
a8c6b116ab Added test_ratio to VS2022 project 2025-01-23 09:39:16 +00:00
John Wellbelove
44df80219b Changed 'value' to 'type'
Added C++14 constant tests
2025-01-23 09:38:30 +00:00
rolandreichweinbmw
360f503bcf
Added missing rational arithmetic functions from <ratio> (#1014)
* Added ratio traits

* Fix unused test suite in < C++14 case

* Port to C++11

* Fix header includes
2025-01-22 17:15:53 +00:00
John Wellbelove
208dea6616 Merge branch 'feature/#993-Need-lighter-weight-ETL_ASSERT' into development
# Conflicts:
#	.gitignore
#	test/vs2022/etl.vcxproj.filters
2025-01-22 17:13:05 +00:00
John Wellbelove
aa0f292cce Added new test script for light weight assert 2025-01-22 17:11:16 +00:00
John Wellbelove
074a34a4f9 Merge branch 'feature/#997-index-operator-for-containers-can-be-configured-to-emit-an-exception' into development 2025-01-22 15:01:26 +00:00
John Wellbelove
1592f60d7b Merge branch 'feature/Refactor-unaligned-type' into development 2025-01-22 15:00:57 +00:00
John Wellbelove
6c6c7b00a5 Remove redundant ETL_FORCE_NO_ADVANCED_CPP macro 2025-01-22 14:51:18 +00:00
John Wellbelove
efa7c19e8b Fixed etl::expected in-place constructors 2025-01-22 14:50:42 +00:00
John Wellbelove
20ef1a34fc Removed constexpr from unaligned_type 2025-01-21 17:51:18 +00:00
John Wellbelove
2e6686543b unaligned_type refactor 2025-01-21 17:51:17 +00:00
John Wellbelove
f05e9ff651 Pulled out unaligned_copy to a base class 2025-01-21 17:51:15 +00:00
John Wellbelove
140996b8df Reverted std::array<signed char back to std::array<int8_t 2025-01-21 17:50:55 +00:00
rolandreichweinbmw
8904b91deb Fix arm64 signed char (#1006) 2025-01-21 17:50:53 +00:00
rolandreichweinbmw
a563aed7fc Fixed memory.h: mem_copy, mem_move, mem_compare for pointers to const (#1005) 2025-01-21 17:48:53 +00:00
rolandreichweinbmw
473bfa33d9 Fix span fixed extent empty (#1007) 2025-01-21 17:48:38 +00:00
John Wellbelove
c6c29ca138 Fixed <bit> include for C++20 & STL 2025-01-21 17:48:37 +00:00
John Wellbelove
1f00d06869 Updates to singleton_base 2025-01-21 17:48:35 +00:00
rolandreichweinbmw
8ac05b161d Add singleton_base with test (#1002) 2025-01-21 17:48:00 +00:00
rolandreichweinbmw
00ac508e07 Add max_item_size() to etl::ipool (#1001) 2025-01-21 17:47:58 +00:00
John Wellbelove
153cdd8b9a Allow etl::type_def to be trivially copyable 2025-01-21 17:47:57 +00:00
John Wellbelove
ee95ab4db2 Updated unaligned_type constructors and tests 2025-01-21 17:47:55 +00:00
John Wellbelove
71268c4cf3 Updated packed macro 2025-01-21 17:47:31 +00:00
John Wellbelove
75aca06f2b Packed unaligned_type (#989)
This way, unaligned_types like etl::be_uint32_t can be used in places where POD types are expected.
2025-01-21 17:43:38 +00:00
jonasgampigbmw
b34e3a6f60
#1017 Fix empty range handling of min/max_element (#1018) 2025-01-21 17:08:38 +00:00
John Wellbelove
778351a49e Removed constexpr from unaligned_type 2025-01-20 13:50:36 +00:00
John Wellbelove
10f21a0377 unaligned_type refactor 2025-01-18 14:12:56 +00:00
John Wellbelove
2979648cb1 Merge branch 'pull-request/#1006-Fix-arm64-signed-char' into development
# Conflicts:
#	test/test_bit_stream.cpp
#	test/test_bresenham_line.cpp
#	test/test_correlation.cpp
#	test/test_covariance.cpp
#	test/test_rms.cpp
2025-01-08 13:13:25 +00:00
John Wellbelove
ef6f8781ec Reverted std::array<signed char back to std::array<int8_t 2025-01-05 13:48:36 +00:00
rolandreichweinbmw
7e2aeb9a0a
Fix arm64 signed char (#1006) 2025-01-05 11:42:09 +00:00
John Wellbelove
39e2394275 Merge branch 'pull-request/#1005-mem_copy-mem_move-mem_compare-for-pointers-to-const' into development
# Conflicts:
#	.gitignore
2025-01-05 11:16:26 +00:00
John Wellbelove
8d352bb00d Merge branch 'pull-request/#1007-Fix-fixed-extent-span-empty()' into development
# Conflicts:
#	.gitignore
2025-01-05 11:16:03 +00:00
John Wellbelove
f8cdf432da Added build files to ignore 2025-01-04 14:34:10 +00:00
rolandreichweinbmw
599931f0bf
Fixed memory.h: mem_copy, mem_move, mem_compare for pointers to const (#1005) 2025-01-04 14:31:35 +00:00
John Wellbelove
8f70a3c262 Fixed <bit> include for C++20 & STL 2025-01-04 14:18:45 +00:00
John Wellbelove
de51170f8a Added build to ignore list 2025-01-04 13:51:58 +00:00
rolandreichweinbmw
adeb902241
Fix span fixed extent empty (#1007) 2025-01-04 13:33:05 +00:00
John Wellbelove
1b42b77608 Pulled out unaligned_copy to a base class 2025-01-04 13:31:37 +00:00