Michael Morgan
760ff8bd21
Add rvalue accessors to expected and optional, and update constructors. ( #690 )
...
* Add rvalue methods to optional and expected.
* Fix constructors in expected.h.
* Fix sanity checks.
---------
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2023-05-20 11:42:36 +01:00
John Wellbelove
52d46ebf62
Changed ARRAY_SIZE template parameter to Array_Size (part of a continuous mod to change all upper case constants to initial caps case
2023-05-05 12:50:39 +01:00
John Wellbelove
d219f4a3e9
Changed declaration of value_type in the top level classes
2023-05-05 12:49:04 +01:00
John Wellbelove
88f4718735
Changed 'class' to 'typename'
2023-05-05 12:45:41 +01:00
John Wellbelove
23472f1099
Made non-template functions inline
2023-05-05 12:45:13 +01:00
John Wellbelove
b7aa13ad19
Enhanced C++03 compatibility
2023-05-02 08:09:06 +01:00
devjoa
40c4fc7c10
feat(span): Add 'as_bytes' and 'as_writable_bytes' ( #689 )
...
These functions emulates the std C++20 functions std::as_bytes and
std::as_writable_bytes.
2023-05-01 23:39:55 +01:00
John Wellbelove
d447ca5ba8
Merge branch 'hotfix/#682-hfsm-start()-does-not-update-state-for-call_on_enter_state-=-true' into development
...
# Conflicts:
# include/etl/hfsm.h
2023-05-01 17:14:35 +01:00
John Wellbelove
e0361f05ab
Added recursive enter for child states.
2023-05-01 17:12:26 +01:00
John Wellbelove
2eff7b396b
Updated version and release notes
2023-05-01 10:11:11 +01:00
John Wellbelove
478c954b31
#682 hfsm::start() does not update state for call_on_enter_state = true
2023-05-01 10:10:14 +01:00
John Wellbelove
963e39f716
Removed redundant 'const' qualifiers in non-type template parameters
2023-04-30 20:42:49 +01:00
John Wellbelove
4d153b2a18
FSM statics update
2023-04-30 18:29:13 +01:00
John Wellbelove
9f4c5bbb94
C++11 unit tests - Work in progress
2023-04-30 11:06:23 +01:00
John Wellbelove
4747c8c5b7
Fixed C++11 constexpr compatibility
2023-04-29 11:15:49 +01:00
John Wellbelove
6d562800ee
Fixed incorrect return types for reverse iterator begin() & end()
...
Updated C++ standard conditional compilation for reverse iterator functions
2023-04-29 11:15:12 +01:00
John Wellbelove
f692c67b4f
Merge branch 'feature/c++14-tests' into development
...
# Conflicts:
# include/etl/generators/type_traits_generator.h
# test/vs2022/etl.vcxproj.filters
2023-04-28 11:52:09 +01:00
Pasi Miettinen
6b43ded97b
circular_buffer: Remove extra semicolon ( #683 )
...
* Update README.md
* Update README.md
* Update a \param in basic_string.h (#681 )
Co-authored-by: Max Hughson <hughsonm@myumanitoba.ca>
* circular_buffer: Remove extra semicolon
---------
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
Co-authored-by: Max Hughson <38259768+hughsonm@users.noreply.github.com>
Co-authored-by: Max Hughson <hughsonm@myumanitoba.ca>
Co-authored-by: Pasi Miettinen <pasim@onenav.ai>
2023-04-28 11:48:29 +01:00
John Wellbelove
4a36990cb1
Merge branch 'master' of https://github.com/ETLCPP/etl
2023-04-28 11:41:47 +01:00
John Wellbelove
801c6735cf
Fixed Address Sanitizer issues
2023-04-28 10:32:58 +01:00
John Wellbelove
aa1d7f0f7f
Conversion of static to C++14 compatinility
2023-04-27 09:28:37 +01:00
John Wellbelove
6e686d4799
Message packet unused parameter fix
2023-04-26 10:00:10 +01:00
John Wellbelove
730be1b39d
Added ETL_OR_STD17 macro as the namespace for size()
...
Added definitions for all public statics
2023-04-23 18:59:41 +01:00
Tyler Tracy
402e04872f
Update scheduler.h ( #686 )
...
Removed call to task.on_task_added()
2023-04-21 11:29:42 +01:00
John Wellbelove
6c4f111e9c
static member constants
2023-04-11 16:32:30 +01:00
John Wellbelove
d30992852e
Merge branch 'development'
...
# Conflicts:
# .github/workflows/msvc.yml
# test/UnitTest++/Checks.h
# test/runtests-01.sh
# test/runtests-O1.sh
# test/runtests-O2.sh
# test/runtests-O3.sh
# test/runtests-c++14.sh
2023-04-02 11:26:37 +01:00
John Wellbelove
d1eb55e295
Fixed comment spelling
2023-04-02 11:06:43 +01:00
John Wellbelove
5b40111f84
Added Tasking compiler
2023-04-02 11:06:43 +01:00
John Wellbelove
2f53c0f871
Updated versions
2023-04-02 11:06:43 +01:00
John Wellbelove
1aa963d469
Fix type traits generator
2023-04-02 11:06:43 +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
578aea502b
Work in progress
2023-04-02 11:06:42 +01:00
John Wellbelove
3c6c1ed527
Work in progress
2023-04-02 11:06:42 +01:00
John Wellbelove
4e79554dee
#675 Compilation error in optional.h line 405
...
Changes for compatibility with C++20
Restore C++17 unit test compatibility
2023-04-02 11:06:42 +01:00
John Wellbelove
293e69e37e
#675 Compilation error in optional.h line 405
2023-04-02 11:06:42 +01:00
Max Hughson
b591ef9184
Update a \param in basic_string.h ( #681 )
...
Co-authored-by: Max Hughson <hughsonm@myumanitoba.ca>
2023-04-02 00:44:45 +01:00
John Wellbelove
70ce8efa94
Comments and noexcept updates to placement new
2023-03-31 16:03:03 +01:00
John Wellbelove
967e3da8db
Fixed comment spelling
2023-03-28 19:51:47 +01:00
John Wellbelove
6a3ce87d43
Added Tasking compiler
2023-03-28 17:43:32 +01:00
John Wellbelove
a198ba143e
Updated versions
2023-03-28 17:43:19 +01:00
John Wellbelove
9a943f4ea3
Fix type traits generator
2023-03-28 17:43:00 +01:00
John Wellbelove
8eabe5fb26
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-03-25 12:16:59 +00:00
John Wellbelove
bb3faea614
Merge branch 'development' into feature/c++14-tests
...
# Conflicts:
# .gitignore
# test/vs2019/etl.vcxproj
2023-03-15 12:49:11 +00:00
John Wellbelove
574e041485
#675 Compilation error in optional.h line 405
...
Changes for compatibility with C++20
Restore C++17 unit test compatibility
2023-03-15 10:28:55 +00:00
John Wellbelove
542a28a6f3
#675 Compilation error in optional.h line 405
2023-03-10 17:45:39 +00:00
John Wellbelove
0676ded8cf
Converted Visual Studio project to VS2022
2023-03-08 14:03:24 +00:00
John Wellbelove
ef4fbdd6c4
Convert the Visual Studio project to VS2022
2023-03-07 20:33:09 +00:00
John Wellbelove
bcad53ebb2
Array bounds and maybe-uninitialized warning fixes
...
Array bounds and maybe-uninitialized warning fixes
Added GCC/clang diagnostic disable for array bounds
Fixed false positive array bounds failure in unit tests
Added -01 & -03 quick tests
Fixed constexpr for exception constructor
Made virtual functions protected
Updated project files
Updated generated file
Updated versions and release notes
2023-03-02 13:15:42 +00:00
John Wellbelove
7bfa2d9429
Merge branch 'development' into hotfix/#649-intrusive_list-array-bounds-test-failure
...
# Conflicts:
# include/etl/intrusive_forward_list.h
# include/etl/intrusive_list.h
# include/etl/optional.h
# test/test_optional.cpp
# test/vs2019/etl.vcxproj.filters
2023-02-28 19:31:33 +00:00
John Wellbelove
8ddf0935d3
Array bounds and maybe-uninitialized warning fixes
2023-02-28 18:33:49 +00:00