A C++ template library for embedded applications
Designed and maintained by
Aster Consulting Ltd
MIT licensed
Join the ETL community

Releases


____________________________________________________________________________________________________

16.7.1

Fix C++03 compatibility issues in memory.h and utility.h

____________________________________________________________________________________________________

16.7.0

Updates to make unique_ptr similar to std::unique_ptr
Fixed unique_ptr swap() compilation issue
Added mutex for FreeRTOS

____________________________________________________________________________________________________

16.6.1

etl::exchange modified for better C++03 compatibility

____________________________________________________________________________________________________

16.6.0

rvalue reference support for heap functions and etl::priority_queue

____________________________________________________________________________________________________

16.5.3

type_traits.h is_one_of fix for C++03

____________________________________________________________________________________________________

16.5.2

Modified nullptr.h for better cross compiler compatibility
Removed redundant includes for etl::array

____________________________________________________________________________________________________

16.5.1

Removed redundant include
Moved move_s definitions to avoid forward declaration

____________________________________________________________________________________________________

16.5.0

has_value() added to etl::optional

____________________________________________________________________________________________________

16.4.4

Added #if ETL_CPP11_SUPPORTED around etl::is_rvalue_reference

____________________________________________________________________________________________________

16.4.3

Rearranged where etl::swap is defined to fix issues with certain compilers
Fixed most warnings for CLang

____________________________________________________________________________________________________

16.4.2

Fix etl::pair error and warning.

____________________________________________________________________________________________________

16.4.1

Moved icache.h to 'experimental' folder.
Removed atomic.h from 'experimental' folder.

____________________________________________________________________________________________________

16.4.0

Added rvalue references and 'move' API to all containers, except etl::priority_queue
and etl::variant

____________________________________________________________________________________________________

16.3.0

Added parity checksum to checksum.h.

____________________________________________________________________________________________________

16.2.1

Updated QueuedMessageHandler example

____________________________________________________________________________________________________

16.2.0

Added etl::heap_sort to algorithms.

____________________________________________________________________________________________________

16.1.0

Added compile time option to make string truncation an error.
Define ETL_STRING_TRUNCATION_IS_ERROR to enable.

____________________________________________________________________________________________________

16.0.0

Refactored the ETL's relationship with the STL
Many reverse engineered STL algorithms and traits are now available through the
ETL namespace.
When ETL_NO_STL is defined, the ETL implements its own versions of the STL code.
When ETL_NO_STL is *not* defined, the ETL act as a wrapper around the STL implementations.

____________________________________________________________________________________________________

15.5.0

Added the ability to self determine the compiler type, version and language support
by defining ETL_AUTO_DETERMINE_COMPILER_INFO or including the 'auto.h' profile.
Added support for C++11's 'alignas' and 'alignof'
Changed 'memcpy' to 'memmove' in alternate STL algorithms.

____________________________________________________________________________________________________

15.4.2

Fix visitor overridden test virtual visit function parameters
Reduced warnings in unit tests for CLang
Updated type_traits_generator
Added explicit construction from string_view

____________________________________________________________________________________________________

15.4.1

Move ETL_NODISCARD definition to ETL_CPP17_SUPPORTED test

____________________________________________________________________________________________________

15.4.0

Refactored CRC classes for better code sharing and reduced resource requirements
Added new CRC definitions

____________________________________________________________________________________________________

15.3.1

Changes to alternate STL limits.h for ARM5 compiler compatibility

____________________________________________________________________________________________________
15.3.0
Added etl::make_string_with_capacity

____________________________________________________________________________________________________

15.2.1

Compile time optimisations to etl::make_string

____________________________________________________________________________________________________

15.2.0

Added function adaptors and removed built-in sort functions from indirect_vector.
Added etl::make_string for all string types.

____________________________________________________________________________________________________

15.1.0

Fixes to the conditional compilation of choose_tag_types.h and
choose_pair_types.h to take into account ETL_NO_STL.

____________________________________________________________________________________________________

15.0.0

Unit tests and library code updated so that the ETL may be compiled and tested
with and without STL support.

____________________________________________________________________________________________________

14.38.2

Added alternate 'No STL' reverse_iterator unit tests.
Fixed missing equality operator for reverse_iterator.

____________________________________________________________________________________________________

14.38.1

Added missing C++11 specific conditional compilation in callback_timer.h

____________________________________________________________________________________________________

14.38.0

Added optional to force string and string_view construction from character
pointers to be explicit.

____________________________________________________________________________________________________

14.37.2

Added assert.h include to memory.h

____________________________________________________________________________________________________

14.37.1

Fix to the return value of alternate STL 'copy'
Added delegate option to callback_timer

____________________________________________________________________________________________________

14.37.0

Added etl::indirect_vector

____________________________________________________________________________________________________

14.36.0

Added wchar_t, u16 and u32 version of the 'set from string' function.

____________________________________________________________________________________________________

14.35.5

Bug fix for etl::multiset & etl::multimap erase.

____________________________________________________________________________________________________

14.35.4

Bug fix for etl::set & etl::map lower_bound.

____________________________________________________________________________________________________

14.35.3

Added assert when calling uninitialised delegate.

____________________________________________________________________________________________________

14.35.2

Fixed incorrect result when rounding up to integral part.

____________________________________________________________________________________________________

14.35.1

Fixed incorrect result for negative float to string.

____________________________________________________________________________________________________

14.35.0

Changed namespace for alternate ETL's STL support.

____________________________________________________________________________________________________

14.34.1

Fixed strict aliasing bug for -O3 optimisation in etl::pool

____________________________________________________________________________________________________

14.34.0

Fix alternate STL utility.h for ARM6
Added ARM7 profiles.

____________________________________________________________________________________________________

14.33.0

Updated unit tests to C++17

____________________________________________________________________________________________________

14.32.0

Added Platform IO example

____________________________________________________________________________________________________

14.31.2

More PIO json tweaks

____________________________________________________________________________________________________

14.31.1

Fix error in PIO json

____________________________________________________________________________________________________

14.31.0

Removed C timer library

____________________________________________________________________________________________________

14.30.0

Allow conan's etl version metadata to automatically update via git tags

____________________________________________________________________________________________________

14.29.4

Fixed unordered_map iterator operator* return type

____________________________________________________________________________________________________

14.29.3

Minor updatess for etl::delegate

____________________________________________________________________________________________________

14.29.2

Fixed incorrect results returned from pointers for atomic_gcc_sync

____________________________________________________________________________________________________

14.29.1

Added #include "stl/utility.h" to etl::optional

____________________________________________________________________________________________________

14.29.0

Added const parameters and ETL_CONST_EXPR to etl::array_view

____________________________________________________________________________________________________

14.28.3

Removed redundant etl::const_array_view

____________________________________________________________________________________________________

14.28.2

Various fixes.
void assign(const_pointer, size_t) did not set the truncation flag.
Fixed resize(0) error for etl::forward_list
Removed erroneous pointers in etl::unordered_map::begin()

____________________________________________________________________________________________________

14.28.1

Optimisation of floating point specialisations of etl::cumulative_moving_average.

____________________________________________________________________________________________________

14.28.0

Added runtime sample size specialisations to etl::cumulative_moving_average.

____________________________________________________________________________________________________

14.27.1

Removed ETL_IF_CONSTEXPR from etl::message_timer 'tick()'

____________________________________________________________________________________________________

14.27.0

ETL's random number generators are now non-polymorphic by default.
Define ETL_POLYMORPHIC_RANDOM to enable previous functionality.

____________________________________________________________________________________________________

14.26.8

Moved global operators to ETL namespace.

____________________________________________________________________________________________________

14.26.7

Compatibility changes for GCC v5.4.

____________________________________________________________________________________________________

14.26.6

Added variadic parameters to observer notification.

____________________________________________________________________________________________________

14.26.5

Fixed misplaced semicolon in error_handler.h

____________________________________________________________________________________________________

14.26.4

FSM test example fix.

____________________________________________________________________________________________________

14.26.3

A few small optimisations to binary.h

____________________________________________________________________________________________________

14.26.2

Added #include <new> to files using 'placement new'.

____________________________________________________________________________________________________

14.26.1

Simplified 'to_string' templates.

____________________________________________________________________________________________________

14.26.0

Simplified message framework internal code.
Additional receive() virtual function overload taking destination id.
Removed is_bus() member function.

____________________________________________________________________________________________________

14.25.0

Added variadic template versions of etl::largest, etl::largest_type,
etl::largest_alignment and etl::smallest

____________________________________________________________________________________________________

14.24.2

Fixed bug in 'vector of pointers' move constructor.

____________________________________________________________________________________________________

14.24.1

Added compile time functor version of 'create()'.

____________________________________________________________________________________________________

14.24.0

Added 'delegate' and 'delegate_service'.

____________________________________________________________________________________________________

14.23.1

Added missing 'cleanup' to string's resize() method.

____________________________________________________________________________________________________

14.23.0

Added an optional secure mode to strings so that unused space will be cleared to zero
and also cleared on destruction.

____________________________________________________________________________________________________

14.22.1

Modified memory functions so that they will not be optimised away.

____________________________________________________________________________________________________

14.22.0

Added etl::memory_clear and etl::memory_set utility functions.
These functions will overwrite the memory allocated to the supplied object.

____________________________________________________________________________________________________

14.21.0

Added variadic min and max functions.
etl::multimin
etl::multimin_compare
etl::multimin_iter
etl::multimin_iter_compare
etl::multimax
etl::multimax_compare
etl::multimax_iter
etl::multimax_iter_compare
C++11 only.

____________________________________________________________________________________________________

14.20.0

Added etl::multi_array for multi-dimensional arrays.
C++11 only.

____________________________________________________________________________________________________

14.19.0

Added 'emplace' to etl::optional.
C++03 & C++11 variants supplied depending on compiler support.

____________________________________________________________________________________________________

14.18.4

Fixed bug in fractional part for floating point with leading zeros after the decimal point.

____________________________________________________________________________________________________

14.18.3

Unified 'to string' API.

____________________________________________________________________________________________________

14.18.2

Finalised 'to string'.

____________________________________________________________________________________________________

14.18.1

Changed etl::format_sepc template to etl::basic_firmat_spec.
Created individual format_spec typedefs for each string type.

____________________________________________________________________________________________________

14.18.0

Added etl::to_string, etl::to_wstring, etl::to_u16string and etl::to_u32string
plus formating support for integrals.

____________________________________________________________________________________________________

14.17.0

Added C++11 variadic templates for etl::observer.

____________________________________________________________________________________________________

14.16.0

Added C++11 variadic templates for etl::visitable and etl::visitor.

____________________________________________________________________________________________________

14.15.0

Added external buffer support for vector.

____________________________________________________________________________________________________

14.14.2

Modified 'truncated' to only be cleared on 'clear()' or 'assign()'.
Added assignment from zero terminated string pointer.

____________________________________________________________________________________________________

14.14.1

Fixed bug where 'truncated' was not always set correctly for strings.

____________________________________________________________________________________________________

14.14.0

Fixed string push_back() bug where the internal terminator was not updated.
Basic Conan package added.
Added const ref istring constructors.
Updated profiles for C++17.

____________________________________________________________________________________________________

14.13.1

Modified etl::queue_spsc_locked parameters to 'const'.

____________________________________________________________________________________________________

14.13.0

Added etl::queue_spsc_locked with injected locking functions.

____________________________________________________________________________________________________

14.12.0

Enabled emplace functions for 'No STL'.

____________________________________________________________________________________________________

14.11.3

Moved C++03 force macros to test profile.

____________________________________________________________________________________________________

14.11.2

Fix inconsistent ETL_FILE definitions.

____________________________________________________________________________________________________

14.11.1

Fix 'force C++03' macros leftover from testing.

____________________________________________________________________________________________________

14.11.0

Added rvalue reference interfaces to forward_list.

____________________________________________________________________________________________________

14.10.2

Fix for unordered_multimap, unordered_set and unordered_multiset insert and erase bug.

____________________________________________________________________________________________________

14.10.1

Fix for unordered_map insert and erase bug.

____________________________________________________________________________________________________

14.10.0

Added ETL_NOEXCEPT macros.
Added std::forward support to alternate STL utility header.

____________________________________________________________________________________________________

14.9.0

Added constexpr constructors to string_view and array_view.

____________________________________________________________________________________________________

14.8.2

Added missing #include "stl/interator.h" in frame_check_sequence.h

____________________________________________________________________________________________________

14.8.1

Fixed bug for certain inserts in etl::vector

____________________________________________________________________________________________________

14.8.0

Added etl::callback_service
Useful for abstracting the interrupt system from C++ handlers.

____________________________________________________________________________________________________

14.7.2

Added #include <new> to message_router.h for improved cross platform compatibility.

____________________________________________________________________________________________________

14.7.1

Rvalue reference C++-03/C++11 compatibility fix.

____________________________________________________________________________________________________

14.7.0

Continuing updates for adding rvalue reference API to the containers.
etl::deque
etl::list
etl::vector

____________________________________________________________________________________________________

14.6.1

Fixed bugs in etl::flat_map 'operator[]' and 'insert'.

____________________________________________________________________________________________________

14.6.0

Added etl::scaled_rounding to allow selection of rounding algorithms when
emulating fixed point arithmetic with scaled integral values.

Added etl::cumulating_moving_average, implementing an algorithm for
calculating an average for a stream of samples. There are specialisations
for floating point and scaled integral sample types.

Added C++11 rvalue reference 'push' functions for etl::deque.

____________________________________________________________________________________________________

14.5.1

Fixed deque pushes for literals.

____________________________________________________________________________________________________

14.5.0

Added move algorithms and utility to 'alternate' STL.
Added rvalue reference API to etl::deque.

____________________________________________________________________________________________________

14.4.0

Added C++03/C++11 emplace for deque, priority_queue, queues, stack, variant & vector.

____________________________________________________________________________________________________

14.3.0

etl::forward_list supports shared pools.

____________________________________________________________________________________________________

14.2.0

Added 'don't care current state' transition entry option.

____________________________________________________________________________________________________

14.1.0

Added hash based random number generator

____________________________________________________________________________________________________

14.0.0

The ETL is now 'all header'.

____________________________________________________________________________________________________

13.0.0

Added bit stream serialiser/deserialiser

____________________________________________________________________________________________________

12.1.1

Added random_pcg Permuted Congruential Generator

____________________________________________________________________________________________________

12.0.1

Modified state_chart to accept recursive events.
Made start() virtual.

____________________________________________________________________________________________________

12.0.0

Modified the API of etl::state_chart constructors.

____________________________________________________________________________________________________

11.19.0

Removed push(void) push_back(void) and push_front(void) function for containers.

____________________________________________________________________________________________________

11.18.0

Added CRC16 MODBUS

____________________________________________________________________________________________________

11.17.1

Swapped event and current state parameters for transition constructor.

____________________________________________________________________________________________________

11.17.0

Added etl::state_chart

____________________________________________________________________________________________________

11.16.6

Fixed implementations of key_comp and value_comp for maps and sets

____________________________________________________________________________________________________

11.16.5

Added 'ull' suffix to 64bit literals

____________________________________________________________________________________________________

11.16.4

Fixed nullptr compatibility for ARM5 compiler.

____________________________________________________________________________________________________

11.16.3

Fixed missing algorithms for No STL  option.
Improved Keil compatibility.

____________________________________________________________________________________________________

11.15.1

io_port_test Fixed unaligned access error.
debug_count  Removed typed += & -= operators and replaced with templates.

____________________________________________________________________________________________________

11.15.0

Added 'memory model' selection for queues to allow more efficient implementations.

Maximum queue sizes:
MEMORY_MODEL_SMALL   255 (254 for queue_spsc_atomic)
MEMORY_MODEL_MEDIUM  65535
MEMORY_MODEL_LARGE   2147483647
MEMORY_MODEL_HUGE    9223372036854775807

Fixed syntax errors highlighted by GCC v8

____________________________________________________________________________________________________

11.14.2

Removed reference_flat_set & reference_flat_map reliance on equality.

____________________________________________________________________________________________________

11.14.1

Removed flat_set & flat_map reliance on equality.

____________________________________________________________________________________________________

11.14.0

Added tests for limited support for self insert for strings.
Added 'wipe_on_destruct' template class for secure wiping of objects on destruction.
Updated unique_ptr API.

____________________________________________________________________________________________________

11.13.2

Protected destructor for some FSM classes.
Observer's remove_observer returns bool.

____________________________________________________________________________________________________

11.13.1

Fixed vector of pointer typedefs

____________________________________________________________________________________________________

11.13.0

Added specialisation for vector<const T*>

____________________________________________________________________________________________________

11.12.2

Remove SFINAE from array_view.
Added default etl::less compare type appropriate map and set classes.
Moved non-template code in pvoidvector to cpp file.

____________________________________________________________________________________________________

11.12.1

Made atomic load const for non STL vesions

____________________________________________________________________________________________________

11.12.0

Renamed STATIC_ASSERT to ETL_STATIC_ASSERT
Removed non-conforming std::nullptr

____________________________________________________________________________________________________

11.11.1

Compatibilty changes for Segger IDE, GCC & STLPort

____________________________________________________________________________________________________

11.11.0

Compatibilty changes for Segger IDE, GCC & STLPort

____________________________________________________________________________________________________

11.10.0

Merged CMake branch

____________________________________________________________________________________________________

11.9.2

Fixed compile error when ETL_DEBUG_COUNT is not defined.

____________________________________________________________________________________________________

11.9.1

Fix Github issue #73 (Timers)

____________________________________________________________________________________________________

11.9.0

Added CRC32-C (Castagnoli)

____________________________________________________________________________________________________

11.8.0

Added more binary utilities.
binary_fill
has_zero_byte
has_byte_n

____________________________________________________________________________________________________

11.7.0

Modified header guards.
Added etl::type_select
Added etl::null_type

____________________________________________________________________________________________________

11.6.0

Added capacity() to etl::queue
Prefixed max_size() and capacity() with ETL_CONSTEXPR in all queue types.

____________________________________________________________________________________________________

11.5.0

Added etl::permutations and etl::combinations constant templates.

____________________________________________________________________________________________________

11.4.0

Added improved atomics.
Added mutex
Added SPSC & MPPC queues

____________________________________________________________________________________________________

11.3.0

Improved compatibility with 64 bit pltforms.

____________________________________________________________________________________________________

11.2.0

Added std::initializer_list constructors to containers, if ETL_CPP11_SUPPORTED is set to 1

____________________________________________________________________________________________________

11.0.1

Added reset() to etl::optional

____________________________________________________________________________________________________

11.0.0

New directory structure.
C & CPP files in src/
H files in include/etl/

____________________________________________________________________________________________________

10.21.2

Added version.h

____________________________________________________________________________________________________

10.21.1

Removal of GCC warnings from variant.h.

____________________________________________________________________________________________________

10.21.0

Completion of operator set for etl::optional
Removal of more GCC warnings when using -Wextra.

____________________________________________________________________________________________________

10.20.0

Rewrite of debounce code to factor out commonality.
Made interrupt locks in C timer framework to match that of C++ version.
Improved etl::endianness. Added static functions.

____________________________________________________________________________________________________

10.19.2

Fixed strict aliasing warnings for endianess.

____________________________________________________________________________________________________

10.19.1

Fixed strict aliasing warnings for aligned storage.

____________________________________________________________________________________________________

10.19.0

Added 'create' and 'destroy' functions to pools.
Modified class heirarchy.
etl::generic_pool is derived from on etl::ipool.
etl::pool is derived from etl::generic_pool.

____________________________________________________________________________________________________

10.18.1

Reduced disable/enable time during function calls.

____________________________________________________________________________________________________

10.18.0

Improvements to message and callback timer frameworks.
Reduced disable/enable time during function calls.
Added the option to use either atomic semaphores or interrupt enables to control access.

____________________________________________________________________________________________________

10.17.0

Added emplace functions to etl::variant.

____________________________________________________________________________________________________

10.16.1

Improved performance of emplace for value_type parameters.

____________________________________________________________________________________________________

10.16.0

Added emplace member functions to flat_map, flat_multimap, flat_set and flat_multiset

____________________________________________________________________________________________________

10.15.0

Added protected destructors to FSM & message_timer and code to message router packet destructor to choose
correct method of destruction.

____________________________________________________________________________________________________

10.14.0

Added variant_pool generator.

____________________________________________________________________________________________________

10.13.0

There was no version 10.13.0

____________________________________________________________________________________________________

10.12.0

Re-written to avoid 'undefined behavior' by allowing containers to be polymorphic or not base on a compile time
macro.

____________________________________________________________________________________________________

10.11.2

GCC compatibility changes.

____________________________________________________________________________________________________

10.11.1

GCC compatibility changes.

____________________________________________________________________________________________________

10.11.0

Added ETL_CONSTEXPR macro and applied to various functions.
Allows C++11 and above compilers to set functions as constexpr.

____________________________________________________________________________________________________

10.10.0

Added array_wrapper

____________________________________________________________________________________________________

10.9.0


Array view
  Added array_view.

____________________________________________________________________________________________________

10.8.1


Pool
  Changed alignof to etl::alignment_of

____________________________________________________________________________________________________
10.8.0

Added etl::variant_pool as a replacement for etl::factory.
Deprecated etl::factory

etl::forward_list
  Renamed include guard to avoid clash with list.

Removed factory from unit tests.

multimap & multiset
  Changed static const to enum.

hash & strings
  Removed default function template parameter value.

FSM
  Moved get_fsm_context() from public to protected in etl::state

Binary
  Added sign_extend functions with shift parameter.
  Added new binary.cpp for non-template functions.
  Added bit<> template constant
  Added bit enumerations

Debug count
  Added clear()

Type lookup
  Simplified codebase

Message router
  Added 'successor' member to allow implementation 'Chain Of Responsibility' pattern.

IO Ports
  Changes value() to read().
  Rewrite of classes to improve efficiency by removing iterator indirection step.
  Fixed inconsistencies in the dynamic IO port API.

Type traits
  Added 'conditional_integral_constant' to complement 'conditional'