commit 04ba91bcccc8e12867962bc3746665f430672a23
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sat Feb 6 10:43:34 2021 +0000
Updated shared message unit test
commit fababc5cf748073464b4294a50c201cb0aa4fa13
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Feb 5 09:41:52 2021 +0000
Updated FSM generator
commit ff287bcf0a833ca70933354b42b8b036b422ff81
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Feb 5 09:35:56 2021 +0000
Updated message router generator
commit 52724e1e62b55dad81e2f80dd656026d828b3214
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Feb 4 13:06:50 2021 +0000
Updated unit tests
commit 0d89105262aa050577ccc17ddc6eece9f4fc5d18
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 20:09:35 2021 +0000
Interim commit
commit ce8385ff24826103c7a55267ccf3f8a31f517e0b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:13:29 2021 +0000
Squashed commit of the following:
commit 007b56d03513887636b84fc246e57d6c4f8b777e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:09:51 2021 +0000
Squashed commit of the following:
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
* add missing overloads for span::first + span::last
The C++20 standard defines additional overloads for first and last:
template< std::size_t Count >
constexpr std::span<element_type, Count> first() const;
constexpr std::span<element_type, std::dynamic_extent> first( size_type Count ) const;
template< std::size_t Count >
constexpr std::span<element_type, Count> last() const;
constexpr std::span<element_type, std::dynamic_extent> last( size_type Count ) const;
etl implements only the first (= template) variants so far. To be able to
compile valid C++20 code the missing overload should be added.
* remove explicit specifier for span conversion operator
The C++20 standard allows to assign a span of non-const elements to a span of
const elements. Example:
std::span<const int> cintspan;
std::span<int> intspan;
cintspan = intspan;
This is enabled in the STL by using an explicit specifier with a constant
expression for one of the conversion constructors:
template< class R >
explicit(extent != std::dynamic_extent)
constexpr span( R&& r );
The explicit specifier together with a constant expression is a C++20 feature
and therefore can't be used within etl. To be able to compile valid C++20
code which uses the conversion on assignment, the explicit specifier has to
be removed.
* remove explicit specifier for span conversion operator
The C++20 standard allows to assign an array of elements directly (without
explicitly using a conversion constructor). Example:
const int data = { 1, 2, 3 };
std::span<const int> cintspan;
cintspan = data;
To be able to compile valid C++20 code which uses the conversion on assignment,
the explicit specifier of the array-conversion constructor has to be removed.
commit fa9d9592aa7cb686ae1e8c6eeedfcbfda7a59835
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Nov 26 19:26:11 2020 +0000
format_spec may be constexpr