Shane Grant
021e5da2fe
Update version to 1.3.0
2019-10-24 21:20:51 -07:00
Shane Grant
0db8d115bf
Documentation updates
2019-10-23 22:06:18 -07:00
Shane Grant
aafd7702bd
Remove diagnostic ignore in favor of fallthrough comments
2019-10-23 22:06:18 -07:00
Shane Grant
fedddc5a1b
Correctly use export while forcing dynamic init
...
see #523
2019-10-23 22:06:18 -07:00
Shane Grant
7fcfa29353
MSVC variant support
2019-10-23 22:06:18 -07:00
Shane Grant
33224f4660
MSVC support for doctest, boost variant serialization
2019-10-23 22:06:18 -07:00
Shane Grant
62034cbe26
Improve documentation for base_class with polymorphism
...
relates #441
2019-10-23 22:06:18 -07:00
Shane Grant
8195d35fbc
Improve documentation of deferment
...
relates #185
2019-10-23 22:06:18 -07:00
Shane Grant
f64864fa74
Prepare for removal of gh-pages-develop branch
2019-10-23 22:06:18 -07:00
Shane Grant
946b568bf7
Update doctest to 2.3.5
...
Includes a replacement for [[noreturn]] and thread_local
2019-10-23 22:06:18 -07:00
Shane Grant
0399962807
Update rapidjson to d87b698d0fcc10a5f632ecbc80a9cb2a8fa094a5
2019-10-23 22:06:18 -07:00
Shane Grant
bd766fe0bd
Merge pull request #587 from stashlukj/patch-1
...
Add fall through comments to json.hpp
2019-10-22 19:51:14 -07:00
Jeremy Stashluk
3452ab4244
Add fall through comments to json.hpp
...
The -Werror flag is on by default in the CMakeLists.txt file. This will not compile when the project is included via CMake ExternalProject_Add with default settings.
2019-10-22 16:22:19 -04:00
Shane Grant
d5f531fd5c
Merge branch 'remove_const_check' of https://github.com/h-2/cereal into h-2-remove_const_check
2019-10-20 21:46:30 -07:00
Vol-Alex
36ab0c1f89
Add possibility to serialize of boost::variant with non default constructible types.
2019-10-19 22:20:14 -07:00
Shane Grant
cfbb7b0f25
Merge pull request #480 from WSoptics/split_specialize
...
move specialize into separate smaller header
2019-10-16 23:19:41 -07:00
Hannes Hauswedell
96b34c2e71
remove const check from load_minimal
2019-05-02 17:14:07 +02:00
Shane Grant
319ce5f5ee
Merge pull request #520 from uentity/fix-dll-export
...
Fix CEREAL_DLL_EXPORT for gcc/clang
2018-10-04 17:44:00 -07:00
Robert Goulet
3d5d20d1d8
Fix warning unused private member itsValueItEnd
2018-08-06 13:14:23 -04:00
uentity
78b88cc314
Fix CEREAL_DLL_EXPORT for gcc/clang
...
If project is built with `-fvisibility=hidden` flag (mimics VS default
behaviour) then `CEREAL_DLL_EXPORT` must expand to explicit "default"
visibility attribute to actually force compiler to export marked symbol
from produced shared object.
2018-06-27 16:57:49 +05:00
Shane Grant
b883b47a65
Merge pull request #502 from WSoptics/monostate
...
add missing std::monostate serialization to variant.hpp
2018-06-10 18:49:09 -07:00
Christoph Weiss
e6dc5d37cb
add missing std::monostate serialization to variant.hpp
2018-05-28 17:28:22 +02:00
Shane Grant
3d4fea5bdb
Merge pull request #478 from patrikhuber/variant-fixed-size-index
...
Changed serialised index type of std::variant to std::int32_t
2018-03-17 15:36:31 -07:00
Shane Grant
0a7a989763
Add version.hpp #444
2018-03-15 22:24:55 -07:00
Shane Grant
16378d5847
Fix spacing #470
2018-03-15 22:16:26 -07:00
Shane Grant
0cf8150bc4
Merge pull request #470 from erichkeane/develop
...
Change StaticObject instance management to hopefully avoid UBSAN
2018-03-15 21:51:33 -07:00
Christoph Weiss
009e383cf3
move specialize into separate smaller header
2018-03-15 18:31:08 +01:00
Christoph Weiss
ae57c6271b
fix warning about int conversion
2018-03-15 17:40:02 +01:00
Patrik Huber
f36e2d1c79
Fix signed/unsigned comparison warning on gcc-7
2018-03-15 15:06:18 +00:00
Patrik Huber
1bf8c629b1
Add explicit cast to silence warning
2018-03-15 13:51:36 +00:00
Patrik Huber
02724b9a39
Merge branch 'develop' into variant-fixed-size-index
2018-03-15 12:12:09 +00:00
Patrik Huber
3f205c28e2
Change type to int32_t to be consistent with boost_variant
2018-03-15 11:51:11 +00:00
Patrik Huber
dc9e573dfb
Changed serialised index type of std::variant to std::uint32_t
...
This makes saving & loading std::variant cross-platform.
2018-03-15 11:36:26 +00:00
Shane Grant
a88e1c7dfd
Improve C++17 check for MSVC #448
2018-03-13 19:43:18 -07:00
Shane Grant
7cf1cba5f1
Cmake updates and boost disambiguation for #448
...
Also addresses #473 . A solution that prevents code duplication is the
ultimate goal but this will be fine for now.
2018-03-13 19:27:34 -07:00
Erich Keane
e9234e3fb6
Change StaticObject instance management to hopefully avoid UBSAN
...
The static-object hack currently used requires passing an
uninitialized reference as a reference. This fix uses a cast
to void to hopefully avoid that undefined behavior.
2018-02-03 20:33:00 -08:00
Shane Grant
e9551c9942
Merge branch 'cpp17_tests' into develop
...
see #448
2017-12-15 14:08:49 -08:00
Shane Grant
83df216451
Merge branch 'cpp17_tests' of github.com:USCiLab/cereal into cpp17_tests
2017-12-15 13:27:25 -08:00
Shane Grant
6a2826150f
rename value to data
2017-12-15 13:27:05 -08:00
Shane Grant
0d3edb8c29
Progress towards load and construct for const types, see #417
2017-11-20 13:59:55 -08:00
Shane Grant
65adc87c7c
Merge branch 'develop' of https://github.com/WSoptics/cereal into WSoptics-develop
2017-11-19 21:57:05 -08:00
Patrik Huber
0f61bc8a38
Negated optional check when saving
...
This now correctly saves the optional value, see #448 .
2017-11-11 18:08:35 +00:00
Shane Grant
59621d6023
Working towards cpp17 tests
...
Progress towards #448
Lots of warnings from g++7.2, these are addressed in #423 which hasn't been merged yet.
CMAKE can be cleaned up a bit - may put back in the ability to use older cmake and just throw errors as necessary,
otherwise just force people to use at least cmake 3.1
2017-11-05 19:07:31 -08:00
Juan Pedro Bolívar Puente
f158a44a32
Add serialization support for std::optional
2017-10-27 14:18:02 +02:00
Juan Pedro Bolívar Puente
0cef0b7073
Add serialization support for std::variant
...
For its unit tests to run, pass -DCMAKE_CXX_STANDARD=17 to cmake.
2017-10-27 14:17:59 +02:00
Shane Grant
ed49c96c80
Rename map for #445
2017-10-25 12:56:23 -07:00
Shane Grant
c37d44fd7e
Merge branch 'develop' of github.com:USCiLab/cereal into develop
2017-09-12 14:49:32 -07:00
Shane Grant
9323fc0af7
modify atomic tests for doctest, clean up serialization code
2017-09-12 14:48:28 -07:00
Christoph Weiss
11882b6261
make CEREAL_BIND_TO_ARCHIVES not have an unused function under GNU C / clang to keep them from warning
2017-09-08 21:22:06 +02:00
Christoph Weiss
f5a9404503
explicitly enable copy ctor to keep clang from warning
2017-09-08 21:22:03 +02:00