3305 Commits

Author SHA1 Message Date
John Wellbelove
0acd537a7e Updates 2021-11-15 09:37:22 +00:00
John Wellbelove
d4a22293c7 Added missing includes 2021-11-15 09:37:21 +00:00
John Wellbelove
8f02e90735 Experimental automatic builtins for algorithms 2021-11-15 09:37:21 +00:00
John Wellbelove
e296bd24f7 Make functions for containers 2021-11-15 09:32:50 +00:00
John Wellbelove
792cc0b57d Array test with movable type 2021-11-15 09:32:12 +00:00
John Wellbelove
d03e6f5587 Latest implementations 2021-11-15 09:32:12 +00:00
John Wellbelove
84974acbfa Added 'make' functions to construct containers
Added tests for 'make' and 'template deduction'
2021-11-15 09:32:11 +00:00
John Wellbelove
bb72ded2e2 constexpr for enum_type 2021-11-15 09:31:30 +00:00
Jeremy Overesch
beadf9e898 Remove unnecessary casts that causes warnings. (#461) 2021-11-15 09:31:30 +00:00
John Wellbelove
29d711003f Added non-const string pointer overload 2021-11-15 09:31:30 +00:00
John Wellbelove
f459c3e190 First experiments 2021-11-15 09:31:30 +00:00
Jeremy Overesch
331e44b0ac Change != to < in ipool to get rid of erroneous clang-tidy nullptr dereference warning (#457) 2021-11-15 09:31:30 +00:00
Steffen Zimmermann
c412277bb9 add ifdef guard for msvc pragma (#455)
There was a msvc specific pragma to disable a warning which causes compiler warnings for non-msvc compilers.
Additionally added a push/pop paradigm to restore the original warning state correctly.
2021-11-15 09:31:29 +00:00
John Wellbelove
caa54f9870 Update version numbers 2021-11-15 09:31:29 +00:00
mhx
fccebd4724 Fix constexpr accepts() implementation to be C++11 compliant (#452)
In C++11, `constexpr` functions must not contain compound statements.
This change makes the implementation of `message_packet::accepts` use
a single conjunction instead of a `switch` statement.

See https://gcc.godbolt.org/z/zKbsx3nY5.

Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2021-11-15 09:31:29 +00:00
mhx
0759d3f2ee Fix constexpr accepts() implementation to be C++11 compliant (#451)
In C++11, `constexpr` functions must not contain compound statements.
This change makes the implementation of `message_packet::accepts` use
a single conjunction instead of a `switch` statement.

See https://gcc.godbolt.org/z/zKbsx3nY5.
2021-11-15 09:31:29 +00:00
John Wellbelove
36bb393d7a Fix compiler warnings 2021-11-15 09:31:29 +00:00
John Wellbelove
e6dd894896 Experimental automatic builtins for algorithms 2021-10-26 17:27:05 +01:00
John Wellbelove
b292e58ee4 Experimental automatic builtins for algorithms 2021-10-25 14:01:07 +01:00
Sergey Skorokhod
43b041cbfb Meson tests & style fix (#447)
* meson tests fix

* missed unit-tests added into meson.build

* fix use_stl option

* meson style fix

* test

* bugfix

Co-authored-by: Sergey Skorokhod <s.skorokhod@1440.space>
2021-10-25 10:36:11 +01:00
John Wellbelove
76f2a97d87 Experimental automatic builtins for algorithms 2021-10-25 09:56:40 +01:00
John Wellbelove
690044e7ff constexpr for etl::string_view 2021-10-21 09:31:49 +01:00
John Wellbelove
998322d02c Add available_bytes to byte_stream_reader & byte_stream_writer 2021-10-21 09:26:20 +01:00
John Wellbelove
7124b86b88 Merge branch 'hotfix/disable-begin-end-size-for-no-stl' into development 2021-10-20 13:35:08 +01:00
John Wellbelove
f3bf0dc7fe Disable etl::begin(), etl::end() and etl::size() for ETL_NO_STL 2021-10-20 13:34:44 +01:00
John Wellbelove
4bedc041d4 Various updates 2021-10-12 17:52:51 +01:00
John Wellbelove
9e6baeb758 Merge branch 'feature/updates-to-delegate' into development 2021-10-12 16:28:41 +01:00
John Wellbelove
fbda92f67f Replace constexpr with ETL_CONSTEXPR in etl::delegate 2021-10-12 15:57:41 +01:00
John Wellbelove
4766e3190e Removed conanfile.py. Now controlled by conan repository. 2021-10-12 15:56:04 +01:00
Sergey Skorokhod
0ca5f274e1
missed 'typename' keyword added (#445)
Co-authored-by: Sergey Skorokhod <s.skorokhod@1440.space>
2021-10-12 15:37:44 +01:00
John Wellbelove
6af5a0bbd2 Added missing explicit initialisation from in_place structures. 2021-10-12 14:56:01 +01:00
Steffen Zimmermann
bc095c9993 fix PARAMETER_HIDDEN (#444)
found with Coverity static code analyzer:
declaration hides parameter "pbucket" (declared in line 1404)
2021-10-12 14:56:01 +01:00
John Wellbelove
dc34be793e Added missing explicit initialisation from in_place structures. 2021-10-12 14:51:39 +01:00
Steffen Zimmermann
7968c5c448
fix PARAMETER_HIDDEN (#444)
found with Coverity static code analyzer:
declaration hides parameter "pbucket" (declared in line 1404)
2021-10-12 10:16:55 +01:00
John Wellbelove
67067605a8 Updates to delegate 2021-10-11 12:32:17 +01:00
John Wellbelove
db46cc5dec Added set() member functions 2021-10-09 14:28:37 +01:00
John Wellbelove
0d612f1317 Added missing read() member functions in byte_stream_reader
Updated version numbers
20.18.1
2021-10-07 15:11:43 +01:00
John Wellbelove
c1c5fbb7f1 Updated sanity checks 2021-10-05 17:00:22 +01:00
John Wellbelove
2d64b77e4a Modified read_unchecked & write_unchecked
Added start/length read/write implementations
20.18.0
2021-10-05 14:24:46 +01:00
John Wellbelove
4e4c781e18 Updated versions 2021-10-04 20:00:45 +01:00
John Wellbelove
609c0c1ebc Merge branch 'feature/#430-add-peek-to-queue_spsc_atomic' into development
# Conflicts:
#	.gitignore
2021-10-04 17:30:55 +01:00
John Wellbelove
4b67f54f1f Added read_unchecked & write_unchecked 2021-10-04 16:59:42 +01:00
John Wellbelove
71f42a7563 Merge branch 'feature/#429-scatter-gather-span-based-class' into development
# Conflicts:
#	.gitignore
#	include/etl/byte_stream.h
#	test/vs2019/etl.vcxproj.filters
2021-10-03 20:26:20 +01:00
John Wellbelove
605655d58b Added multi_span iterator and tests 2021-10-03 20:19:15 +01:00
John Wellbelove
f35271e695 Added public access for base class for iterator 2021-10-03 20:18:51 +01:00
John Wellbelove
e65044ef8f gitignore 2021-10-03 16:15:05 +01:00
John Wellbelove
08e08b9165 Merge branch 'feature/#433-pool-ext-variant-pool-ext' into development
# Conflicts:
#	.gitignore
2021-10-03 16:10:28 +01:00
John Wellbelove
ec64141598 #438 void* reader writer API 2021-10-03 15:38:50 +01:00
John Wellbelove
aaa00ca610 Added pool_ext & generic_pool_ext 2021-10-03 11:50:40 +01:00
John Wellbelove
21dc9276b1 Merge branch 'feature/#436-clang-format-file' into development
# Conflicts:
#	test/vs2019/etl.vcxproj.filters
2021-10-02 18:31:06 +01:00