1491 Commits

Author SHA1 Message Date
KurtisT
36a9d70d7c
Feature/span equality operators (#670)
* feat: implement equality operator

* test: test equality operator

* feat: implement not equal operator

* test: test not equal operator

---------

Co-authored-by: Kurtis Thrush <kthrush@jlg.com>
2023-02-09 18:13:14 +01:00
John Wellbelove
38c807401e Added emplace by index to variant (variadic)
#660 byte_stream_reader::skip error
2023-01-20 10:53:47 +00:00
John Wellbelove
3beff56587 Fixed byte_stream_reader skip()
Change '<' to '<='
2023-01-19 10:31:39 +00:00
John Wellbelove
e255b34ecd Added emplace by index to variant (variadic) 2023-01-19 09:57:03 +00:00
John Wellbelove
76e2cb1899 Updated version and release info 2023-01-07 15:23:17 +00:00
John Wellbelove
a398207e3d emplace_front, emplace_back updates 2023-01-07 15:20:25 +00:00
Alex Hirsch
a507f8f2a6
emplace member functions return reference to emplaced value (#659) 2023-01-07 12:18:55 +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
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
3515a94c15 Updated version info 2022-12-22 19:01:57 +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
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 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 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 2022-11-25 16:04:02 +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 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 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
John Wellbelove
85d40b9dda Remove pointer only etl::to_arithmetic API 2022-10-31 17:04:53 +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
d93c330b76 Finalised etl::to_arithmetic 2022-10-29 21:37:46 +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
John Wellbelove
1b44133b68 Reordered member initialisation 2022-10-23 19:49:22 +01:00
John Wellbelove
b0266fcc4a Removed constexpr for etl::bit_cast due to unreliability of compiler support 2022-10-23 19:48:49 +01:00
John Wellbelove
5cae6659ba Added float error handling 2022-10-21 15:05:33 +01:00
John Wellbelove
9aea4bf1cc Work-In-Progress 2022-10-20 14:36:44 +01:00
John Wellbelove
d648e27b7f Added has_value() as an alias for is_value()
For consistency with STL
2022-10-20 14:36:28 +01:00
John Wellbelove
890195f3b4 Added ETL_ERROR_WITH_VALUE macro for exceptions that require a value 2022-10-20 14:35:23 +01:00
John Wellbelove
76c7c1a175 Merge branch 'feature/#596-helper-functions-to-convert-strings-to-numeric-values' of https://github.com/ETLCPP/etl into feature/#596-helper-functions-to-convert-strings-to-numeric-values
# Conflicts:
#	include/etl/file_error_numbers.h
#	include/etl/to_arithmetic.h
#	test/vs2019/etl.vcxproj.filters
2022-10-19 19:34:50 +01:00
John Wellbelove
c4aab3397a Tidy up 2022-10-19 19:33:34 +01:00
John Wellbelove
fe497b5945 Work-In-Progress
Integral functions
2022-10-19 19:33:34 +01:00
John Wellbelove
f4357899ed Work-In-Progress
Integral functions
2022-10-19 19:33:20 +01:00
John Wellbelove
17edf62869 Work-In-Progress 2022-10-19 19:33:20 +01:00
John Wellbelove
94117cd56b Work-In-Progress 2022-10-19 19:33:20 +01:00
John Wellbelove
e1aac23b71 Work-In-Progress 2022-10-19 19:33:20 +01:00
John Wellbelove
9da73f474a Work-In-Progress 2022-10-19 19:33:20 +01:00