From 8634480fa6549e348028d927cdd381a1b538e002 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Thu, 26 Jan 2023 10:51:35 +0000 Subject: [PATCH 1/2] Update README.md Added link to documentation --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 64fbf0a7..56c457b3 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ Embedded Template Library (ETL) [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/ETLCPP) +[Project documentation](https://www.etlcpp.com/) + ## Motivation C++ is a great language to use for embedded applications and templates are a powerful aspect. The standard library can offer a great deal of well tested functionality, but there are some parts of the standard library that do not fit well with deterministic behaviour and limited resource requirements. These limitations usually preclude the use of dynamically allocated memory and containers with open ended sizes. From a08d7f14dc5edc07aa4e037a0f57e188c7fab20c Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Tue, 7 Feb 2023 10:55:16 +0100 Subject: [PATCH 2/2] Fixed span templated copy constructor --- include/etl/span.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/etl/span.h b/include/etl/span.h index 32f27106..d28c06b0 100644 --- a/include/etl/span.h +++ b/include/etl/span.h @@ -604,8 +604,8 @@ namespace etl //************************************************************************* template ETL_CONSTEXPR span(const etl::span& other) ETL_NOEXCEPT - : pbegin(other.begin()) - , pend(other.begin() + N) + : pbegin(other.pbegin) + , pend(other.pend) { }