5628 Commits

Author SHA1 Message Date
John Wellbelove
b8163b3bfb Merge branch 'feature/Persistence' of https://github.com/ETLCPP/etl into feature/Persistence
# Conflicts:
#	.github/workflows/clang.yml
#	.github/workflows/gcc.yml
#	CMakeLists.txt
#	include/etl/binary.h
#	include/etl/delegate.h
#	include/etl/deque.h
#	include/etl/experimental/mem_cast.h
#	include/etl/file_error_numbers.h
#	include/etl/forward_list.h
#	include/etl/generators/type_traits_generator.h
#	include/etl/list.h
#	include/etl/optional.h
#	include/etl/private/delegate_cpp03.h
#	include/etl/private/delegate_cpp11.h
#	include/etl/private/ivectorpointer.h
#	include/etl/result.h
#	include/etl/type_traits.h
#	include/etl/uncopyable.h
#	include/etl/vector.h
#	include/etl/version.h
#	library.json
#	library.properties
#	test/CMakeLists.txt
#	test/UnitTest++/CheckMacros.h
#	test/sanity-check/c++03/CMakeLists.txt
#	test/sanity-check/c++11/CMakeLists.txt
#	test/sanity-check/c++14/CMakeLists.txt
#	test/sanity-check/c++17/CMakeLists.txt
#	test/test_delegate.cpp
#	test/test_delegate_cpp03.cpp
#	test/test_optional.cpp
#	test/test_vector_pointer.cpp
#	test/vs2019/etl.vcxproj.filters
#	version.txt
2025-08-20 08:45:45 +01:00
John Wellbelove
ae777f2810 Restore file deleted on rebase
Updated etl::delgate to handle const functors correctly

Updated version info

Fixed functor delegate enable_if

Updated release notes

Avoid 'missing return statement at end of non-void function' in `etl::visit<>()`. (#645)

* Avoid 'missing return statement at end of non-void function' in `etl::visit<>()`.

For some definitions of `ETL_ASSERT()` there may be no return statement in case of an invalid type.
This results in undefined behavior.

Warning[Pe940]: missing return statement at end of non-void function "etl::visit<TReturn,TVisitor,TVariant>(TVisitor &, TVariant const &) include\etl\private\variant_legacy.h 976

* Use more self-explaining code.

Substitute ET_ASSERT() and return by dedicated macro.
This moves the responsibility of how to handle errors to the dedicated place.

improve is_constructible, is_copy_constructible, is_move_constructible for type traits with default definitions (#648)

Removed unused ETL_USE_MEM_BUILTINS option

Updated version info

Updated release notes

Added etl::result<TValue, void> specialisation

Reverted code for etl::result<void, TError> specialisation

Added etl::result<TValue, void> specialisation

Reverted code for etl::result<void, TError> specialisation

Fixed perfect forwarding for make_xxx helper functions

Don't warn on tag missing when subproject (#653) (#655)

Different solution than proposed in the issue, since that proposed
solution would given unexpected results when an intermediate
(untagged) commit is checked out.

This change simply skips warning about a missing git version when this
is a subproject, and uses the original version calculation logic.

I've also renamed `determine_version` to `determine_version_with_file`.
I'd originally done this in an intermediate version of this PR, but I
think that keeping the renaming is clearer code.

Removed superfluous semicolons

Updated version and release notes

Removed testing for 18.04

Added testing for 22.04

Updated Github Actions for Clang

Updated version and release notes

clang updates for Github Actions

Added missing notes

emplace member functions return reference to emplaced value (#659)

emplace_front, emplace_back updates

Updated version and release info

Improved emplace testing

Changed unit test macro CHECK_FALSE_EQUAL to CHECK_NOT_EQUAL

Improved emplace testing

Changed unit test macro CHECK_FALSE_EQUAL to CHECK_NOT_EQUAL

Improved emplace testing

Initial code
2025-08-20 08:40:23 +01:00
John Wellbelove
d5c8b7c9f8 Initial code 2025-08-20 08:37:31 +01:00
John Wellbelove
e3dac1e33e Merge branch 'development' 20.43.0 2025-08-19 19:13:31 +01:00
John Wellbelove
cde5bcff69 Updated release notes and version 2025-08-19 18:50:57 +01:00
John Wellbelove
2a970134da Removed releaser and destroyer in favour of lambdas and similar 2025-08-19 16:01:46 +01:00
John Wellbelove
6b7bfb8633 Merge branch 'development' of https://github.com/ETLCPP/etl into development 2025-08-19 13:18:34 +01:00
John Wellbelove
4d5cb98d29 Fixed ETL_NOEXCEPT_IF_NO_THROW and #define ETL_NOEXCEPT_IF_NO_THROW_EXPR(...) for C++03
Updated example

Added releaser and destroyer functors to etl::ipool to simplify integration with etl::unique_ptr
2025-08-19 13:18:21 +01:00
John Wellbelove
fb6c42ec78 Fixed ETL_NOEXCEPT_IF_NO_THROW and #define ETL_NOEXCEPT_IF_NO_THROW_EXPR(...) for C++03 2025-08-18 19:45:40 +01:00
John Wellbelove
5f37af3f83 Changed release() to destroy() to match create() 2025-08-18 19:44:51 +01:00
John Wellbelove
44ec1e4f25 Updated release notes 2025-08-18 17:34:53 +01:00
John Wellbelove
ac1d2c82d1 Added not_null comparison tests 2025-08-18 17:13:07 +01:00
John Wellbelove
0a5fcef331 Merge branch 'feature/#1166-Feature-Request--implement-not_null' of https://github.com/ETLCPP/etl into feature/#1166-Feature-Request--implement-not_null 2025-08-18 16:52:00 +01:00
John Wellbelove
3a25d5934a Added constexpr. Removed some member functions. Removed 'move' member functions for etl::not_null<etl::unique_ptr<T, TDeleter>> 2025-08-18 16:51:49 +01:00
John Wellbelove
3bc87f1045 Changed unique() to underlying_type()
Added underlying_type() to etl::not_null<T*>
2025-08-18 16:51:00 +01:00
John Wellbelove
2d22dfe236 Changed unique() to underlying_type()
Added underlying_type() to etl::not_null<T*>
2025-08-18 16:50:59 +01:00
John Wellbelove
877ef005ea Fixed file Id error
Updated CMakeLists.txt for tests and syntax checks
2025-08-18 16:50:58 +01:00
John Wellbelove
28d90aa80c Initial implementation 2025-08-18 16:50:57 +01:00
John Wellbelove
f6fd44a096 Initial implementation 2025-08-18 16:50:57 +01:00
John Wellbelove
63d7470685 Added etl::nontype_t, with C++11 and C++17 alternatives 2025-08-18 14:22:33 +01:00
John Wellbelove
450948933f Added example of the use of etl::unique_ptr with etl::pool 2025-08-18 14:20:45 +01:00
John Wellbelove
037029ea84 Added constexpr. Removed some member functions. Removed 'move' member functions for etl::not_null<etl::unique_ptr<T, TDeleter>> 2025-08-17 10:37:27 +01:00
John Wellbelove
ae8aff5ed8 Merge branch 'feature/#1166-Feature-Request--implement-not_null' of https://github.com/ETLCPP/etl into feature/#1166-Feature-Request--implement-not_null 2025-08-16 10:57:20 +01:00
John Wellbelove
2edde546c4 Merge branch 'feature/#1166-Feature-Request--implement-not_null' of https://github.com/ETLCPP/etl into feature/#1166-Feature-Request--implement-not_null 2025-08-16 10:57:14 +01:00
John Wellbelove
1963593159 Merge branch 'feature/#1166-Feature-Request--implement-not_null' of https://github.com/ETLCPP/etl into feature/#1166-Feature-Request--implement-not_null 2025-08-16 10:38:38 +01:00
John Wellbelove
94f7d9956d Changed unique() to underlying_type()
Added underlying_type() to etl::not_null<T*>
2025-08-16 10:38:29 +01:00
John Wellbelove
d7585508da Changed unique() to underlying_type()
Added underlying_type() to etl::not_null<T*>
2025-08-16 10:12:41 +01:00
John Wellbelove
109ba9350d Updated syntax check tests 2025-08-15 19:26:18 +01:00
John Wellbelove
08ed69bac7 Fixed file Id error
Updated CMakeLists.txt for tests and syntax checks
2025-08-15 18:04:50 +01:00
John Wellbelove
20f5c0402e Initial implementation 2025-08-15 17:18:15 +01:00
John Wellbelove
9c046b710c Initial implementation 2025-08-15 10:27:35 +01:00
John Wellbelove
f67ae46be6 Merge branch 'master' of https://github.com/ETLCPP/etl 2025-08-15 10:25:46 +01:00
John Wellbelove
efae99252b Fixed VS2022 project file list 2025-08-15 10:25:08 +01:00
John Wellbelove
5312f5eddd Added explicit check for remainder in divide_round_to_infinity 2025-08-15 10:24:45 +01:00
John Wellbelove
2a32826b86 Merge branch 'master' of https://github.com/ETLCPP/etl 2025-08-13 21:07:03 +01:00
John Wellbelove
3553f5db22 Fixed VS2022 project file list 2025-08-13 21:06:35 +01:00
John Wellbelove
8c49e67702 Added return_type and argument_types to etl::delegate 2025-08-13 19:51:31 +01:00
John Wellbelove
2d470d20f5 Fixed VS2022 project file list 2025-08-13 17:51:03 +01:00
John Wellbelove
1af74206d2 Updated PlatformIO action 2025-08-13 16:10:35 +01:00
John Wellbelove
534fcc6ebe Updated fsm generator 2025-08-13 10:46:14 +01:00
John Wellbelove
e449a09b3e Added automated PlatformIO update CI action 2025-08-13 10:37:59 +01:00
John Wellbelove
ca5f5394f7 Minor style change 2025-08-13 10:14:13 +01:00
John Wellbelove
87f121222f Merge branch 'development' of https://github.com/ETLCPP/etl into development
# Conflicts:
#	test/test_delegate_observable.cpp
2025-08-13 09:32:12 +01:00
John Wellbelove
f973d31ad1 Merge branch 'development' of https://github.com/ETLCPP/etl into development
# Conflicts:
#	test/test_delegate_observable.cpp
2025-08-13 09:31:42 +01:00
John Wellbelove
85b15552ba Merge branch 'development' of https://github.com/ETLCPP/etl into development
# Conflicts:
#	test/test_delegate_observable.cpp
2025-08-13 08:53:26 +01:00
John Wellbelove
b734df629b Attempt to fix Github CI
GCC 11 incompatibility
2025-08-13 08:53:03 +01:00
John Wellbelove
4beadd18f4 Attempt to fix Github CI
GCC 11 incompatibility
2025-08-13 08:49:23 +01:00
John Wellbelove
8f94ef619a Attempt to fix Github CI
GCC 11 incompatibility
2025-08-12 21:32:51 +01:00
John Wellbelove
5c24ae2f0d Attempt to fix Github CI
GCC 11 incompatibility
2025-08-12 21:21:16 +01:00
John Wellbelove
3e95e772c3 Attempt to fix Github CI 2025-08-12 18:28:04 +01:00