michael-mueller-git
bcd03b4d68
Add Missing header ( #82 )
...
* add missing header to develop
* add test to check include files
* fix missing includes
* improve test target names
Co-authored-by: arch <arch@local>
2021-08-24 09:28:15 +03:00
Mindaugas Vinkelis
4ff80c6426
fix: std::variant access with get_if using index
2021-05-31 08:12:28 +03:00
Robbert van der Helm
d1830a263b
Avoid reinitializing nontrivial std::variant #76
...
When deserializing into an `std::variant<Ts...>` and the object we're
deserializing into already holds the requested variant, then we should
try to deserialize into the existing object instead of recreating it if
the variant is a nontrivial type. This is important when the object has
a default constructor that performs a nontrivial amount of work, or when
the object contains heap data that would need to be reallocated when
recreating the object.
2021-05-28 14:55:59 +02:00
Victor Stewart
9688cb03d2
add 16 byte value (aka uint128_t) usage
2021-05-15 21:03:56 +00:00
Mindaugas Vinkelis
db884a0656
release v5.2.1
...
BufferAdapter statically assert on underlying type size
bugfix in StdBitset
2020-11-14 11:36:22 +02:00
Mindaugas Vinkelis
8a00183c80
release 5.2.0
2020-11-09 18:59:24 +02:00
Michael Puskas
ee7bb2cb93
Fixed unknown-pragmas warnings on non-MSVC. ( #69 )
...
Changes:
Surrounded the MSVC-specific "disable warning" pragmas with MSVC
guards.
2020-11-07 12:05:36 +02:00
Mindaugas Vinkelis
d787680819
release v5.1.0
2020-06-08 14:32:18 +03:00
domgho
a519d333e2
Fix typo ( #57 )
2020-05-16 20:32:33 +03:00
Nick Renieris
826b8d4269
std::atomic support ( #54 )
2020-05-02 22:05:04 +03:00
Mindaugas Vinkelis
16f637da0d
integer casts part3
2020-04-21 10:04:09 +03:00
tower120
9cade41dbb
msvc warnings suppression ( #47 )
2020-04-21 08:38:16 +03:00
tower120
3dc5940c16
Integer casts. Part 2. ( #41 )
2020-04-21 08:35:32 +03:00
tower120
a544879b22
basic_ios <=> basic_ostream ( #45 )
...
basic_ios changed to basic_ostream and basic_istream
2020-04-16 21:48:49 +03:00
tower120
d47ee834e4
fix integer cast warnings. ( #38 )
2020-04-15 13:17:44 +03:00
Mindaugas Vinkelis
c556c75100
fixed some include paths
2020-04-15 12:46:42 +03:00
Mindaugas Vinkelis
d24dfe14f5
provided read/write method for adapaters that accepts number of bytes at
...
compile-time
2020-01-29 15:08:25 +02:00
Mindaugas Vinkelis
ee68261124
rewriten buffer adapters, to fix UB when incrementing past the end iterator.
2020-01-27 16:21:39 +02:00
Mindaugas Vinkelis
8d6ffc9873
extracted Centos7 gcc4.8.2 specific code into separate patch file
2020-01-17 09:28:26 +02:00
Arnaud Botella
0e76e0608c
Fix compilation with gcc 4.8.2 ( #33 )
...
Update for gcc4.8.2 for Centos7
2020-01-17 08:08:49 +02:00
Nicolai Trandafil
04afd16fbd
fix non default constructible container deser
2019-11-24 14:30:43 +02:00
Mindaugas Vinkelis
c555088aa3
version 5.0.1 release
2019-08-21 14:03:20 +03:00
Mindaugas Vinkelis
c9619e3e3d
macOS compilation fix and polymorphic handler deleter fix
2019-08-21 13:58:43 +03:00
Arnaud Botella
04526ff0f4
Update memory_resource.h
2019-08-01 14:59:15 +02:00
Arnaud Botella
b7d159bbfc
Update memory_resource.h
...
To be consistent with line 135.
2019-08-01 14:43:52 +02:00
Mindaugas Vinkelis
f85dff7415
few more renames and updated change log for version 5.0.0
2019-07-09 07:02:44 +03:00
Mindaugas Vinkelis
f35ae3f4dc
renamed flexible to brief_syntax
2019-07-05 14:18:27 +03:00
Mindaugas Vinkelis
ff40222124
removed Reader/Writer parameter from extensions serialize/deserialize
...
methods
2019-07-05 14:18:21 +03:00
Mindaugas Vinkelis
a1785f3e15
all bitsery types that allocates memory can be configured to accept
...
memory resource for allocation
2019-07-05 14:17:38 +03:00
Mindaugas Vinkelis
105aa5f9e5
simplified usage by merging adapter writer/reader with input/output
...
adapter and ability to disable checks on deserialization
2019-07-02 08:03:34 +03:00
Mindaugas Vinkelis
1822796f2e
multiple breaking change improvements
2019-06-27 11:40:57 +03:00
Mindaugas Vinkelis
57dd028b7a
added custom allocator support for pointer like objects.
2019-06-27 11:30:34 +03:00
Mindaugas Vinkelis
03f2c3c8b5
bugfix in enableBitPacking
2019-06-27 10:08:48 +03:00
Luli2020
aca3139600
Added serializer/deserializer "cereal like" interface
...
Added interface BasicSerializer &operator()(T &&head, TArgs &&... tail) and BasicDeserializer &operator()(T &&head, TArgs &&... tail), which are cereal like intefaces so such format of serialization functions were possible:
template<class Archive>
void serialize(Archive & ar, DataType& d){
ar(d.data1, d.data2....);
}
2019-06-27 08:07:57 +03:00
Mindaugas Vinkelis
ddca8e4ad0
extensions for tuple, variant and chrono types
2019-03-12 14:54:04 +02:00
Arek Sredzki
574ec69cca
Fix quickMeasureSize<T>() compilation.
2019-01-30 01:44:34 -08:00
Arek Sredzki
fac2c8a7ce
Fix various grammatical and spelling mistakes within the docs
2019-01-17 10:31:58 -08:00
Mindaugas
a6dad0885f
visual studio variadic templates issues
2019-01-16 11:27:56 +02:00
Mindaugas
65f90637df
input buffer adapter accepts const buffer
2019-01-10 20:48:03 +02:00
Mindaugas
b10f86da00
non default constructible types
2019-01-10 19:08:15 +02:00
Mindaugas
6c3e1aee43
removed anonymous namespace from PolymorphicBaseClass as it only works
...
on clang, and is not standard compliant
2019-01-08 16:00:02 +02:00
Mindaugas
e5f8d5742f
Merge branch 'master' of https://github.com/fraillt/bitsery
2019-01-08 15:08:27 +02:00
Mindaugas
a2ecf8d7b0
polymorphism improvements and new CompactValue extension
2019-01-08 15:06:29 +02:00
AJIOB
4a0b3cae98
VS 2017.5.6 example compilation fix
2018-09-15 08:37:56 +03:00
Mindaugas
2e62bd08e3
cleanup
2018-08-23 14:57:48 +03:00
Mindaugas
54f69a5eea
polymorphism and smart pointers
2018-08-23 14:44:58 +03:00
Mindaugas Vinkelis
275c4138ee
polymorphism in progress
2018-08-20 13:10:10 +03:00
fraillt
952635ff70
improved configuration to follow modern cmake practices
2018-03-09 15:59:28 +02:00
fraillt
507b5ae01d
added polymorphism support for raw pointers
2018-02-28 16:06:03 +02:00
fraillt
f6d02aba38
added inheritance extension, and ability to have internal contexts within serializer/deserializer
2017-11-12 12:09:12 +02:00