mike919192
fbb92f85fc
Debug assert ( #1175 )
...
* debug assert POC
* Swith to ETL_CONSTEXPR14
* Finish TODO checks
* First and last can be equal
* Add ETL_DEBUG_THROW_EXCEPTIONS
* Try allowing c++11 constexpr
* Add macro for throwing from c++11 constexpr
* Remove braces
* Add extra asserts in size_t overload functions
* Fill out debug asserts
* Line up comments
2025-09-26 09:55:40 +01:00
John Wellbelove
c25df24b03
Allow zero sized etl::array
2025-05-18 13:41:01 +01:00
John Wellbelove
ad33083543
Added safe copy to etl::array::assign
...
etl::array::assign now returns an iterator
2024-01-28 20:35:07 +00:00
John Wellbelove
63d1a64e6c
#787 etl::expected doesn't compile with ETL_LOG_ERRORS
...
Updated CI scripts
#786 u8string
#783 Cannot insert existing value to full set
#781 etl::multi_span::iterator::operator *() fails if first span is empty
#780 endian enum_type produces useless-cast warnings
#779 hash.h: warnings produced with -Wfloat-equal
2023-11-24 09:59:35 +00:00
John Wellbelove
197e0815e6
PR for constexpr for etl::array
2023-07-04 11:45:11 +01:00
John Wellbelove
9f4c5bbb94
C++11 unit tests - Work in progress
2023-04-30 11:06:23 +01:00
John Wellbelove
363a3e2dab
Fix test array sizes
...
C++14 compiler compatibility
Updated test run scripts
Changed some ETL_ASSERT macros to ETL_ASSERT_OR_RETURN
Changed unit test macros for C++20 compaibility
Updated test run scripts
Updated CMake files to allow C++ standard selection
Replaced ETL_ASSERT_AND_RETURN with ETL_ASSERT_OR_RETURN
Updated C++14 & C++20 unit test compatibility
Changed native char8_t check
Added optional optimisation argument to bash script
2023-04-02 11:06:43 +01:00
John Wellbelove
d63be881a4
Fix warnings
2022-09-12 12:21:37 +01:00
John Wellbelove
baa47d1c33
Updated copyright notice
2022-06-10 21:45:37 +01:00
John Wellbelove
90e4316f8f
Interim fixes
2022-04-25 10:30:54 +02:00
John Wellbelove
740e490aed
Tested ETL traits code.
2022-03-11 20:28:26 +00:00
John Wellbelove
9931339605
Fixes for < GCC 8
2021-11-21 18:31:39 +00:00
John Wellbelove
343dabe7e2
Fixes for < GCC 8
2021-11-21 17:29:56 +00:00
John Wellbelove
94575a1ac1
Fixes for Ubuntu 18
2021-11-21 17:09:16 +00:00
John Wellbelove
8a55da8e21
Array test with movable type
2021-11-10 17:29:06 +00:00
John Wellbelove
201ea97fe6
Latest implementations
2021-11-09 19:46:25 +00:00
John Wellbelove
a3eda2c2e1
Added 'make' functions to construct containers
...
Added tests for 'make' and 'template deduction'
2021-11-08 19:05:59 +00:00
John Wellbelove
1b7a59be92
Added non-const string pointer overload
2021-11-06 16:45:06 +00:00
John Wellbelove
dd77b4ec70
First experiments
2021-11-04 12:15:14 +01:00
CanastraRF
7c0f169b66
literal with suffix ( #416 )
2021-08-23 11:01:18 +01:00
John Wellbelove
dbfa71944f
Abstracted unit test framework header
2021-03-05 13:52:34 +00:00
John Wellbelove
18d8236f91
Conditionally disable template deduction guide tests
2020-09-29 11:23:10 +01:00
John Wellbelove
911ec65e1b
Exclude MSVC compiler due to Appveyor reporting an internal compiler error
2020-09-12 14:45:48 +01:00
John Wellbelove
83f710d636
Try to detect Appveyor
2020-09-12 14:28:36 +01:00
John Wellbelove
14d1b96c64
Added template deduction guides for array and array_view
2020-09-10 13:07:04 +01:00
John Wellbelove
e323f2267f
Changed http://www.etlcpp.com to https://www.etlcpp.com
2020-05-01 10:22:36 +01:00
John Wellbelove
caba10699a
Move etl::swap to utilities.h
...
Fixed many CLang warnings
2020-02-24 11:48:04 +01:00
John Wellbelove
9dd88e1885
Merge remote-tracking branch 'origin/development'
2020-02-11 13:27:43 +01:00
John Wellbelove
83347ccfdd
Work in progress
2020-01-09 11:15:50 +00:00
John Wellbelove
bd008350a2
Merge remote-tracking branch 'origin/feature/changed_include_paths' into development
...
# Conflicts:
# include/etl/version.h
2018-07-28 21:55:27 +01:00
John Wellbelove
a742749849
Merge branch 'development'
2017-11-01 09:33:17 +00:00
John Wellbelove
26b7326d72
Updated Code::Blocks project.
...
Changed test project include paths to use unittest++ as sub-module.
2017-05-08 20:48:22 +01:00
John Wellbelove
1527e9781f
Added assign, insert and erase member functions.
2017-02-16 06:53:36 +00:00
John Wellbelove
f1c5c20ba7
Changed folder structure to be compatible with Arduino library specifications
2016-02-28 14:04:22 +00:00
John Wellbelove
16a1978f43
Added link to www.etlcpp.com in licence header.
2015-12-16 11:09:56 +00:00
jwellbelove
ae385d5561
Added Github link to copyright notice.
2015-02-22 13:23:18 +00:00
jwellbelove
46de221cfe
Added self assignment tests.
2015-01-24 19:32:09 +00:00
jwellbelove
824eb89719
Added get() non-member template functions.
2014-12-09 15:04:53 +00:00
jwellbelove
c1d46996d7
Removed spaces
2014-12-08 20:25:30 +00:00
jwellbelove
ca7e569033
Modified array tests
2014-11-19 18:35:37 +00:00
jwellbelove
1108b9e5c7
Updates for Code::Blocks and CodeLite
...
Updates so that Code::Blocks and CodeLite can compile the tests.
Made include guards upper case.
2014-11-05 17:41:17 +00:00
jwellbelove
740b088282
Changes for compatibility with GCC
2014-11-04 20:33:11 +00:00
jwellbelove
102e4a8bed
Changed exception names
2014-11-03 12:33:05 +00:00
jwellbelove
4e2bfb2740
Modified unit tests to use CHECK_THROW
2014-10-31 15:59:22 +00:00
jwellbelove
520b64a243
Lower case 'a' in array.h
2014-10-26 17:41:40 +00:00
jwellbelove
c052dc91be
namespace elt to etl
...
Corrected namespace from elt to etl
2014-10-26 16:39:14 +00:00