John Wellbelove
3f1c640eff
cplusplus traits is now 'long'
2022-04-01 11:55:32 +02:00
John Wellbelove
b18d32f77b
Merge branch 'hotfix/optimise-circular-buffer-push-and-pop' into development
2022-03-26 18:30:59 +00:00
John Wellbelove
eb49582837
Small optimisations for computing indexes for queues & cyclic_value.
2022-03-26 18:30:33 +00:00
Steffen Zimmermann
148cf9ef26
fix unused-local-typedefs warning ( #517 )
...
clang complains about the line:
include/etl/algorithm.h:298:66: error: typedef 'value_type' locally defined but not used [-Werror=unused-local-typedefs]
typedef typename etl::iterator_traits<TIterator>::value_type value_type;
2022-03-25 10:42:18 +00:00
John Wellbelove
1b5da4a4b2
Fixed undefined macros when compiler type is defined by the user
...
Updated version numbers
2022-03-24 14:46:38 +00:00
John Wellbelove
fa7f6dc9d7
Fixed move parameter in notify_observers
2022-03-23 19:59:30 +00:00
John Wellbelove
5577170fd2
Updated version numbers
2022-03-23 11:30:31 +00:00
John Wellbelove
aad0dabebe
Re-initroduced etl::functor
...
Added constexpr to etl::member_function_wrapper and etl:;functor_wrapper
2022-03-22 15:16:51 +00:00
John Wellbelove
6a00274b75
Removed commented out code
2022-03-22 15:15:28 +00:00
John Wellbelove
1be86f8566
Added etl::member_function_wrapper and etl::functor_wrapper to utility.h
2022-03-22 13:51:02 +00:00
John Wellbelove
5b3454ad10
Fixed mem_set parameter type
2022-03-22 00:46:51 +00:00
John Wellbelove
422c5e0d36
The counter in etl::debug_count is atomic, if available
2022-03-20 11:48:02 +00:00
John Wellbelove
6f99c2b3a9
Added template wrappers around memcpy, memmove, memcmp, memset& memchr.
...
Added C++23 macro
Updated version numbers
2022-03-19 21:29:29 +00:00
John Wellbelove
dbed55c507
Added C++23 macros
2022-03-18 15:29:53 +00:00
John Wellbelove
a8ecaf635b
Remove mem macros
2022-03-18 15:29:37 +00:00
John Wellbelove
87080285e6
Merge branch 'feature/#515-make-unaligned-types-fully-constexpr' into development
...
# Conflicts:
# include/etl/algorithm.h
# include/etl/endianness.h
2022-03-18 15:19:54 +00:00
John Wellbelove
1c03e57aba
Made etl::unaligned_type constexpr
2022-03-18 15:14:23 +00:00
John Wellbelove
b0e9ab8fd2
Made etl::swap ETL_CONSTEXPR14
2022-03-18 15:12:44 +00:00
John Wellbelove
ae92932788
Changed ETL_ENDIANNESS_IS_CONSTEXPR to ETL_HAS_CONSTEXPR_ENDIANNESS
2022-03-18 15:12:05 +00:00
John Wellbelove
779a900b67
Changed ETL_CONSTEXPR17 to ETL_CONSTEXPR14 for reverse iterators
2022-03-18 15:11:12 +00:00
John Wellbelove
d5c91ae739
Removed builtin mem macros
...
Not always constexpr compatible for all types
2022-03-18 15:10:21 +00:00
John Wellbelove
b0f5a99e15
Added macros for namespace identification
2022-03-18 15:09:26 +00:00
John Wellbelove
2423745786
Fixed missing lines for cplusplus trait
2022-03-12 10:15:19 +00:00
John Wellbelove
740e490aed
Tested ETL traits code.
2022-03-11 20:28:26 +00:00
John Wellbelove
43100b2cf4
Initial code
2022-03-07 13:11:28 +00:00
John Wellbelove
c8f13fa8b8
Remove initializer_list selection logic.
2022-03-05 18:02:47 +00:00
John Wellbelove
55aa55a269
Added optional counter type to instance_count.
2022-03-05 18:00:37 +00:00
John Wellbelove
dda482a321
Updated how the definition of initializer_list is selected.
2022-03-05 17:59:48 +00:00
John Wellbelove
292f5d9176
Modified logic for enabling the use of initializer lists
2022-03-04 20:54:38 +00:00
John Wellbelove
2c6ffdc36f
Updated version numbers and release notes.
2022-03-03 20:01:18 +00:00
John Wellbelove
b5b09274ce
Added extra sanity checks for new classes
2022-03-03 18:39:23 +00:00
John Wellbelove
c34ac53a4e
Changes the order of callback and re-insertion of the timer in the active list.
2022-03-03 14:34:01 +00:00
John Wellbelove
0a163463c2
Added callback and message timers for interrupts.
2022-03-03 14:31:24 +00:00
John Wellbelove
a1e3017028
Semaphore macro type is local to timer classes
2022-03-02 19:38:11 +00:00
John Wellbelove
290f7a86ac
Changed atomic timers to use a user supplied atomic semaphore counter.
2022-03-02 19:26:19 +00:00
John Wellbelove
d8405bfa00
Changed from C cast to C++ cast
2022-02-26 11:17:36 +00:00
John Wellbelove
8da7251e82
Always use stddef.h
2022-02-26 11:17:07 +00:00
John Wellbelove
3c36bc382a
Modified WCHAR_MIN and WCHAR_MAX checks
2022-02-26 11:16:26 +00:00
John Wellbelove
3c38a7d0c4
Added char8_t type
2022-02-26 11:15:42 +00:00
John Wellbelove
f355a4e8d6
Fix 'unused function parameter' warnings
2022-02-26 11:15:17 +00:00
John Wellbelove
734df1a372
Merge branch 'development'
2022-02-20 19:28:22 +00:00
John Wellbelove
90b20e626b
Updated versions
2022-02-20 19:14:25 +00:00
John Wellbelove
679304b9f5
Adjusted initializer_list include logic
2022-02-20 18:57:06 +00:00
John Wellbelove
60757a44ab
callback and message timers now uses etl::timer_semaphore_t
2022-02-20 18:49:43 +00:00
John Wellbelove
8644b833a3
Fixed send_message signatures
2022-02-20 18:46:15 +00:00
John Wellbelove
4e9471aac0
Comment typo
2022-02-16 11:16:13 +00:00
John Wellbelove
1aead2e59f
Simplified std::byte for C++03
2022-02-16 08:49:26 +00:00
John Wellbelove
b472563b62
Added C++03 implementation
2022-02-15 20:58:19 +00:00
John Wellbelove
e5fd40d82b
Added etl::byte
2022-02-15 16:41:47 +00:00
John Wellbelove
61d0db16b6
Merge branch 'development'
2022-02-15 10:55:04 +00:00