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
Shane Grant
df16f32fa7
Merge branch 'Vol-Alex-master' into develop
...
see #509
2019-10-19 22:21:09 -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
Shane Grant
182876d4a3
Merge pull request #569 from AzothAmmo/travis_fixes
...
Update Travis CI
2019-05-13 23:45:11 -07:00
Shane Grant
afe6ab9883
Update Travis CI
...
Fixed up clang, gcc, and osx (clang) compilation with Travis CI.
All builds run the tests, though not all tests pass. Fixing the tests
will come next.
2019-05-13 22:34:36 -07:00
Shane Grant
8475382ad5
Merge pull request #568 from AzothAmmo/appveyor_fixes
...
Appveyor updates + boost testing fixes
2019-05-08 21:36:07 -07:00
Shane Grant
d16feb9de8
Appveyor updates + boost testing fixes
...
-Fixes appveyor CI and adds additional MSVC versions
-Puts boost variant test building behind boost requirement
2019-05-08 19:51:29 -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
Shane Grant
9ccfaa0bea
Merge pull request #515 from gouletr/fix/unused-private-member-warning
...
Fix warning unused private member itsValueItEnd
2018-10-04 17:19:33 -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
487c3375e1
Fix unit test structure, CPP17 check, relates #478 , #448
2018-03-17 15:43:38 -07: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
Shane Grant
9aa7f390c4
Merge pull request #479 from WSoptics/develop
...
fix warning about int conversion
2018-03-15 21:45:37 -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
13d1d36cae
Make g++7 travis build use C++17 relates #473
2018-03-13 19:56:51 -07:00
Shane Grant
ae7529c211
Merge branch 'cpp17_tests' into develop #448
2018-03-13 19:49:03 -07: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
f094ba78ec
fix optional testing, properly name coveragee for cpp17
...
relates #448
2017-12-15 13:35:43 -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
53441ea669
Merge branch 'WSoptics-develop' into develop
...
See #417 , PR #423
2017-11-20 14:23:16 -08:00
Shane Grant
0d96673536
more const for poly
2017-11-20 14:22:24 -08:00
Shane Grant
322fb95a5d
Adding const to poly tests
2017-11-20 14:17:57 -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
Shane Grant
e519567cd2
Merge pull request #450 from patrikhuber/cpp17_tests
...
Negated optional check when saving
2017-11-19 21:41:56 -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
84a6c4b063
Simplify structs for atomic test
...
-Should hopefully fix atomic size issue for some compilers
-May still need to be more explicit in CTOR for windows, pending appveyor results
relates #277
2017-09-13 13:46:21 -07:00
Shane Grant
05c0cb0521
forgot to add this!
2017-09-12 14:55:29 -07:00