4068 Commits

Author SHA1 Message Date
John Wellbelove
03bbff6f0c Updated version and release notes 2023-01-05 15:00:04 +00:00
John Wellbelove
96d225d153 Updated Github Actions for Clang 2023-01-05 14:03:10 +00:00
John Wellbelove
e83c7786b8 Removed testing for 18.04
Added testing for 22.04
2023-01-05 13:28:52 +00:00
John Wellbelove
53d3dd7852 Updated version and release notes 2023-01-05 12:48:22 +00:00
John Wellbelove
a414680608 Merge branch 'hotfix/#657-Wpedantic-failure' into development 2023-01-04 10:28:12 +00:00
John Wellbelove
cc2306e1db Removed superfluous semicolons 2023-01-04 10:28:00 +00:00
John Wellbelove
5762916bad Merge branch 'hotfix/653-dont-warn-on-tag-missing-when-subproject' into development 2023-01-04 09:49:29 +00:00
Flaviu Tamas
e66750de53
Don't warn on tag missing when subproject (#653) (#655)
Different solution than proposed in the issue, since that proposed
solution would given unexpected results when an intermediate
(untagged) commit is checked out.

This change simply skips warning about a missing git version when this
is a subproject, and uses the original version calculation logic.

I've also renamed `determine_version` to `determine_version_with_file`.
I'd originally done this in an intermediate version of this PR, but I
think that keeping the renaming is clearer code.
2023-01-04 09:39:28 +00:00
John Wellbelove
58136cac7b Fixed perfect forwarding for make_xxx helper functions 2022-12-30 18:10:12 +00:00
John Wellbelove
ddf557a0b2 Added etl::result<TValue, void> specialisation
Reverted code for etl::result<void, TError> specialisation
2022-12-28 18:28:10 +00:00
John Wellbelove
a01e974d7d Added etl::result<TValue, void> specialisation
Reverted code for etl::result<void, TError> specialisation
2022-12-28 17:57:09 +00:00
John Wellbelove
e74f8b46de Updated release notes 20.35.8 2022-12-22 20:13:43 +00:00
John Wellbelove
3515a94c15 Updated version info 2022-12-22 19:01:57 +00:00
John Wellbelove
09f89000d5 Merge branch 'feature/#646-improve-type-traits' into development 2022-12-22 19:00:41 +00:00
John Wellbelove
22fce72e74 Removed unused ETL_USE_MEM_BUILTINS option 2022-12-22 19:00:10 +00:00
David Hebbeker
280c309885 Avoid 'missing return statement at end of non-void function' in etl::visit<>(). (#645)
* Avoid 'missing return statement at end of non-void function' in `etl::visit<>()`.

For some definitions of `ETL_ASSERT()` there may be no return statement in case of an invalid type.
This results in undefined behavior.

Warning[Pe940]: missing return statement at end of non-void function "etl::visit<TReturn,TVisitor,TVariant>(TVisitor &, TVariant const &) include\etl\private\variant_legacy.h 976

* Use more self-explaining code.

Substitute ET_ASSERT() and return by dedicated macro.
This moves the responsibility of how to handle errors to the dedicated place.
2022-12-22 16:22:05 +00:00
Eyal Abramovitch
688c404d37
improve is_constructible, is_copy_constructible, is_move_constructible for type traits with default definitions (#648) 2022-12-22 16:20:45 +00:00
David Hebbeker
14421d43f8
Avoid 'missing return statement at end of non-void function' in etl::visit<>(). (#645)
* Avoid 'missing return statement at end of non-void function' in `etl::visit<>()`.

For some definitions of `ETL_ASSERT()` there may be no return statement in case of an invalid type.
This results in undefined behavior.

Warning[Pe940]: missing return statement at end of non-void function "etl::visit<TReturn,TVisitor,TVariant>(TVisitor &, TVariant const &) include\etl\private\variant_legacy.h 976

* Use more self-explaining code.

Substitute ET_ASSERT() and return by dedicated macro.
This moves the responsibility of how to handle errors to the dedicated place.
2022-12-21 09:22:17 +00:00
John Wellbelove
d8cc108c59 Merge branch 'development' of https://github.com/ETLCPP/etl into development
# Conflicts:
#	support/Release notes.txt
20.35.7
2022-12-17 13:39:40 +00:00
John Wellbelove
96c2a73e97 Updated release notes 2022-12-17 13:39:13 +00:00
John Wellbelove
ff417c70fb Updated release notes 2022-12-17 13:37:04 +00:00
John Wellbelove
c9565d1fd9 Updated etl::delgate to handle const functors correctly
Updated version info

Fixed functor delegate enable_if
2022-12-17 13:33:30 +00:00
John Wellbelove
8527d6864e #643 Don't use push_macro and pull_macro with Tasking compiler 20.35.6 2022-12-14 11:31:06 +00:00
Todd Snider
22419e3b8b
Don't use push_macro and pull_macro with Tasking compiler (#643)
* Autodetect Tasking compiler

#642

* Don't use `push_macro` and `pop_macro` for Tasking compiler

#642

Co-authored-by: Todd Snider <tsnider@jlg.com>
2022-12-14 00:40:29 +00:00
John Wellbelove
1bf04dcfc6 Updated version info 20.35.5 2022-12-08 12:13:49 +00:00
John Wellbelove
fb10c1d3c7 Incorrect C++03 enable_if syntax 2022-12-08 12:10:57 +00:00
John Wellbelove
72a7273a19 Updated version info 20.35.4 2022-11-25 16:04:02 +00:00
John Wellbelove
2546924222 Removed trailing spaces 2022-11-25 16:03:38 +00:00
Kai Szuttor
1e11aff7b9
Only build tests if top level project (#639) 2022-11-25 15:59:08 +00:00
John Wellbelove
cdf8a3616f Updated generator test script 20.35.3 2022-11-23 12:37:18 +00:00
John Wellbelove
d51b0a8427 Updated version info 2022-11-23 12:31:56 +00:00
Chiraffollo
82c2f8a26d
Fix bug #636 in optional emplace for pod types (#638) 2022-11-23 09:25:24 +00:00
John Wellbelove
3623ba5b38 Updated version and release notes 20.35.2 2022-11-16 18:26:22 +01:00
John Wellbelove
54fe9e2554 Fixed incorrect 'valid' flag in assignment operator for arithmetic specialisation 2022-11-16 18:21:46 +01:00
John Wellbelove
22798e1454 Fix duplicate function 20.35.1 2022-11-09 10:42:10 +00:00
John Wellbelove
7184e57a19 Updated versions & memory.h 2022-11-09 09:52:09 +00:00
John Wellbelove
02a3083015 unique_ptr updates - Work in progress 2022-11-07 20:53:10 +00:00
John Wellbelove
3d60bb3c86 Removed duplicate include 2022-11-07 20:52:30 +00:00
Sergey Skorokhod
71f694bdb8
fix set of ETL_NO_STL flag (#628)
Co-authored-by: Sergey Skorokhod <s.skorokhod@1440.space>
2022-11-07 14:53:58 +00:00
John Wellbelove
85d40b9dda Remove pointer only etl::to_arithmetic API 20.35.0 2022-10-31 17:04:53 +00:00
John Wellbelove
ae649322c1 Fixed macro names in sanity check profiles 2022-10-31 10:49:43 +00:00
John Wellbelove
4d97714099 Updated release notes 2022-10-30 10:23:58 +00:00
John Wellbelove
2d23392ca8 Removed ETL_NODISCARD from constructors 2022-10-29 22:07:01 +01:00
John Wellbelove
76e9ddabfc Updated version and release notes 2022-10-29 22:04:12 +01:00
John Wellbelove
977279871e Added development to Github CI 2022-10-29 21:41:37 +01:00
John Wellbelove
ed934b9d55 Added development to Github CI 2022-10-29 21:39:39 +01:00
John Wellbelove
d93c330b76 Finalised etl::to_arithmetic 2022-10-29 21:37:46 +01:00
John Wellbelove
f6bb62841e Arctic code vault images 2022-10-27 11:16:17 +01:00
John Wellbelove
4e4a951f62 Partial change to etl::expected result 2022-10-25 15:45:52 +01:00
John Wellbelove
743d4e32ca Finished floating point conversions and tests 2022-10-24 14:24:28 +01:00