4516 Commits

Author SHA1 Message Date
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
04bbf01938 Merge branch 'feature/#615-addition-of-etl--expected' of https://github.com/ETLCPP/etl into feature/#615-addition-of-etl--expected
# Conflicts:
#	include/etl/expected.h
#	test/vs2019/etl.vcxproj.filters
2022-10-31 17:56:34 +00:00
John Wellbelove
e9a13b8c9b Work-In-Progress 2022-10-31 17:54:47 +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
a1bf74009f Work-In-Progress 2022-10-27 09:52:39 +01:00
John Wellbelove
cea3aea259 Merge branch 'feature/#615-addition-of-etl--expected' of https://github.com/ETLCPP/etl into feature/#615-addition-of-etl--expected
# Conflicts:
#	include/etl/expected.h
2022-10-25 15:47:26 +01:00
John Wellbelove
a1ee6deec5 Work-In-Progress 2022-10-25 15:46:29 +01:00
John Wellbelove
3892a45eec Work-In-Progress 2022-10-25 15:46:12 +01:00
John Wellbelove
4e4a951f62 Partial change to etl::expected result 2022-10-25 15:45:52 +01:00
John Wellbelove
70a98ae1a6 Merge branch 'feature/#615-addition-of-etl--expected' of https://github.com/ETLCPP/etl into feature/#615-addition-of-etl--expected
# Conflicts:
#	.gitignore
2022-10-24 16:44:43 +01:00
John Wellbelove
ddca5f5541 Work-In-Progress 2022-10-24 16:44:04 +01:00
John Wellbelove
743d4e32ca Finished floating point conversions and tests 2022-10-24 14:24:28 +01:00
John Wellbelove
7b9c1f97ad Added etl::to_arithmetic tests 2022-10-23 19:51:14 +01:00
John Wellbelove
8e1ec778a3 Updated sanity checks to include etl::to_arithmetic 2022-10-23 19:50:09 +01:00
John Wellbelove
1b44133b68 Reordered member initialisation 2022-10-23 19:49:22 +01:00