74 Commits

Author SHA1 Message Date
joaquintides
73cb3e954a Feature/disallow null fixed_variant (#30)
* disallowed fixed_variant with no types

* protected fixed_variant copy/assignment

* documented disallowance of fixed_variant copy/assignment

* worked around spurious C2248 msvc-14.{0|1}

* fixed workaround
2025-01-03 19:25:30 +01:00
joaquintides
adc8658c3f Fix/misc (#28)
* added missing test

* commented out tests

* tested missing member functions
2024-12-30 20:54:43 +01:00
joaquintides
f3df1cdd21 Fix/null variant_collection (#27)
* fixed boost::variant_collection_of<>

* added tests for ==/!=
2024-12-30 18:36:03 +01:00
joaquintides
fcd9cebc92 Feature/variant_collection (#26)
* added variant_collection

* added variant_collection

* avoided &* on null pointers

* made (non-public) fixed_variant ctor explicit

* tested higher-arity visit

* implemented visit<void>

* fixed {boost::variant2|std}::variant insertion

* fixed lookup issues with invoke_visit

* removed unneeded constexpr qualifiers

* s/typeid_/index

* reverted c6bc62f6d2 as Clang 5.0 didnt seem to like it

* reinstated c6bc62f6d2

* dropped -std=c++1z for Clang 5.0

* updated docs and examples

* added boost::poly_collection::visit_by_index

* typo

* explicit cted tuple in make_iota_tuple

* changed function name to see if it helps with mangling-related Clang 3.8 ICE

* rewritten make_iota_tuple to try to make Clang 3.8 happier

* added boost::variant_collection_of
2024-12-28 10:56:06 +01:00
joaquintides
4597538eb5 Feature/update ci (#22)
* added Drone and GHA CI support

* given drone.sh execution permissions

* relaunched CI after Drone setup

* relaunched CI

* split jobs to avoid timeouts

* worked around too big obj files

* [skip ci] updated README.md

* [skip ci] fixed links
2024-10-13 12:55:03 +02:00
Rene Rivera
ce9dbb499a Update build deps. 2024-08-05 08:26:14 -05:00
Rene Rivera
7e1b1743be Make the library modular usable. 2024-03-11 08:38:17 -05:00
joaquintides
fff09e7a01 reverted 06ad553ac1 2021-02-08 09:24:56 +01:00
joaquintides
06ad553ac1 solved issue #20 2021-02-08 09:15:45 +01:00
Giovanni Mascellani
5ed0000d13 Fix copyright headers encoding to UTF-8. 2020-10-09 15:45:21 +02:00
joaquintides
c6221ca431 replaced deprecated #include 2020-05-11 16:06:33 +02:00
joaquintides
0f41301229 removed limitation with legacy libstdc++-v3 2020-01-29 20:50:53 +01:00
joaquintides
40cd7e3714 refined previous commit 2019-09-03 14:38:29 +02:00
joaquintides
e6fa69fa25 added workarounds for Dinkumware stdlib as per issue #16 2019-09-03 10:39:46 +02:00
joaquintides
0e60b6d60c refined version checking after tests from Agustín Bergé 2019-05-20 18:46:35 +02:00
joaquintides
eac88e1211 narrowed workaround to check if VS2019 has fixed bug 2019-05-20 12:14:34 +02:00
joaquintides
1a2f7eb419 stylistic 2019-05-20 12:02:39 +02:00
joaquintides
11988830bc omitted crashing test for a specific, buggy version of VS2019 2019-05-15 12:13:07 +02:00
joaquintides
2698edb21e added workaround for legacy libstdc++-v3 bug 2019-05-08 11:48:19 +02:00
joaquintides
d13e8ba7ba addressed issue #11 and sprinkled some more checks 2019-02-06 12:18:52 +01:00
joaquintides
c32eb057cc avoided self-assign-overloaded Clang warnings 2018-12-31 13:29:16 +01:00
joaquintides
8c02e82dbc shut logical-op-parentheses warning down 2018-12-22 22:42:21 +01:00
joaquintides
5af64d5ec2 bypassed tests for old versions of libstdc++-v3 2018-12-22 12:54:23 +01:00
joaquintides
6887dbfb32 backed down c6e1d529f9 2018-12-20 15:48:28 +01:00
joaquintides
b58467114c fixed test conditions 2018-12-20 13:13:40 +01:00
joaquintides
c6e1d529f9 bumped BOOST_MSVC check on some BOOST_WORKAROUNDs 2018-12-19 19:06:35 +01:00
joaquintides
fd294c2abf refactored allocator handling, fixed bug with type_info_map::cache (see rebuild_cache) 2018-12-19 16:15:27 +01:00
joaquintides
2886f32366 added algorithms for_each_n and sample. 2018-09-23 19:40:02 +02:00
joaquintides
5ed5d5e993 made value tests more irregular 2018-09-13 19:22:17 +02:00
joaquintides
6f72f19075 tested more corner cases 2018-09-13 10:51:17 +02:00
joaquintides
f81017fd72 workaround for MSVC 14.1 C++17-mode compiler bug (https://lists.boost.org/Archives/boost/2018/02/241568.php) 2018-02-28 17:06:26 +01:00
joaquintides
654018c7ce removed workarounds already integrated in type_traits (https://svn.boost.org/trac10/ticket/13012) 2018-02-22 08:44:52 +01:00
joaquintides
ab33b07a15 removed DR1467 workaround as defect is now avoided everywhere 2018-01-02 09:51:08 +01:00
joaquintides
3609895bd0 avoided this in trailing return decltype expressions 2017-11-10 12:21:09 +01:00
joaquintides
39794695bc s/{...}/(...) in copy ctors for the sake of DR1467 2017-11-03 10:44:34 +01:00
joaquintides
8ce207bd5b refined workaround 2017-10-21 13:18:39 +02:00
joaquintides
f156d4f859 cleaned up Oct 18-20 backporting effort 2017-10-21 12:13:38 +02:00
joaquintides
79ca7f56ba added workaround for libstdc++-v3's buggy implementation of std::is_permutation 2017-10-19 21:12:50 +02:00
joaquintides
71c679ba2e added ctors not to rely on aggregate initialization for GCC 4.8-9's sake 2017-10-19 19:48:15 +02:00
joaquintides
c32a9da7d1 stylistic 2017-10-18 22:59:48 +02:00
joaquintides
7f70b0d668 expanded workaround for https://lists.boost.org/Archives/boost/2017/06/235687.php to GCC<5.0 2017-10-18 22:57:35 +02:00
joaquintides
4aef578e05 added redundant default ctor defs whose nonexistence GCC 4.8-9 chokes upon 2017-10-18 14:28:23 +02:00
joaquintides
f35e7f8c73 suppressed unused var warning 2017-10-18 13:47:34 +02:00
joaquintides
0f37019a45 added workaround for object file overflow in Cygwin (and presummably MinGW) 2017-09-08 12:23:49 +02:00
Peter Dimov
e4381d714c Disable tests for non-C++11 compilers 2017-09-08 02:04:45 +03:00
joaquintides
f34690aaa8 erased spurious ';' 2017-09-07 23:52:43 +02:00
joaquintides
1cca6a2bb2 simplified test utilities for the benefit of GCC<=4.9 2017-09-06 14:25:42 +02:00
joaquintides
62c9beed4e omitted throwing copy construction/assignment test for libstdc++-v3<4.9.0 2017-09-06 10:03:38 +02:00
joaquintides
2115982ea2 omitted allocator transfer test for libstdc++-v3<4.9.0 2017-09-02 12:11:13 +02:00
joaquintides
5cd6d16e13 new attempt at avoiding not-universally-supported std::unordered_map::unordered_map(const allocator_type&) and similar ctors 2017-08-29 23:45:57 +02:00