John Wellbelove
58013e8257
changed iterator parameters to const_iterator
2021-11-17 17:59:57 +00:00
Steffen Zimmermann
d05bf1b4fd
let map/multimap/set/multiset return iterator on erase ( #463 )
...
Beginning with C++11, erase(iterator) and erase(const_iterator) returns
an iterator following the removed element.
2021-11-15 10:26:23 +00:00
Jeremy Overesch
c70db16a20
Remove unnecessary casts that causes warnings. ( #461 )
2021-11-10 17:31:31 +00:00
John Wellbelove
1b7a59be92
Added non-const string pointer overload
2021-11-06 16:45:06 +00:00
John Wellbelove
b5e5c5ecca
Merge branch 'development'
2021-11-06 13:42:08 +00:00
Jeremy Overesch
2c42e9f91b
Change != to < in ipool to get rid of erroneous clang-tidy nullptr dereference warning ( #457 )
2021-11-04 12:15:54 +01:00
John Wellbelove
dd77b4ec70
First experiments
2021-11-04 12:15:14 +01:00
Jeremy Overesch
323f8eeff8
Change != to < in ipool to get rid of erroneous clang-tidy nullptr dereference warning ( #457 )
2021-11-03 07:04:12 +01:00
Steffen Zimmermann
4068482bd5
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-10-29 12:16:26 +01:00
John Wellbelove
60e728a88f
Update version numbers
20.19.0
2021-10-27 15:30:35 +01:00
John Wellbelove
9c8bf85e8d
Merge branch 'hotfix/fix-cpp11-pedantic-constexpr' into development
2021-10-27 10:43:49 +01:00
John Wellbelove
946b48cbf1
Merge branch 'hotfix/#454-fix-compiler-error-msvc-16' into development
2021-10-27 09:48:13 +01:00
John Wellbelove
ea11ee8818
Fix compiler warnings
2021-10-27 09:47:52 +01:00
mhx
b4c4d8ac4a
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-10-25 13:46:00 +01:00
John Wellbelove
03bf749654
Merge branch 'hotfix/skorokhod-meson_tests_fix' into development
...
# Conflicts:
# meson.build
2021-10-25 10:11:57 +01:00
mhx
efb9c04a45
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-10-22 19:11:47 +01:00
Sergey Skorokhod
16045432b7
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-22 18:39:26 +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
John Wellbelove
4a972db089
Updated to closely match ETL formatting
2021-10-02 17:54:20 +01:00
John Wellbelove
3f79e61f97
Add front() to locked queues
2021-10-02 14:27:23 +01:00
Daniel B
494059fd6b
Feature/pool ext variant pool ext ( #433 )
...
* added threads dependency to meson build because of pthread linkage problems (gcc version Debian 8.3.0-6)
* initial version of generic_pool_ext, pool_ext and variant_pool_ext (extended unit tests)
* format code
* fix test_call_if_and_not_valid_returning_void by moving SetupFixture into namespace (to ensure correct test setup)
Co-authored-by: Daniel B <daniel-brosche@users.noreply.github.com>
2021-10-01 18:46:52 +01:00
Daniel B
bb28930eee
initial version of a clang format file that matches quite good with the existing coding style ( #436 )
...
Co-authored-by: Daniel B <daniel-brosche@users.noreply.github.com>
2021-10-01 18:44:44 +01:00
John Wellbelove
88f2ff8e63
Updated version numbers
2021-10-01 18:41:59 +01:00