2
0
mirror of https://github.com/boostorg/variant.git synced 2026-01-19 04:42:16 +00:00

224 Commits

Author SHA1 Message Date
Antony Polukhin
fdf2c0f646 Update copyright years 2026-01-04 11:27:21 +03:00
Antony Polukhin
9738f5733b CI fixes (#113) 2025-09-13 13:52:35 +03:00
Antony Polukhin
1fd7271d2e Update copyright years 2025-01-08 19:52:10 +03:00
Antony Polukhin
36fc992f51 Do not test on MinGW 32-bit any more 2024-12-19 18:56:14 +03:00
René Ferdinand Rivera Morell
0fd179fbd8 Add support for modular build structure. (#111)
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information.

This PR depends on the following other PRs being merged to both develop and master branches of the respective repos:

- https://github.com/boostorg/boost/pull/854
2024-08-24 12:40:30 +03:00
Antony Polukhin
b33ff4f811 Remove obsolete code (#109) 2024-01-08 20:13:32 +03:00
Antony Polukhin
e37df948d7 Update copyright years 2024-01-07 12:56:27 +03:00
Andrey Semashev
9d1e62f33c Remove deprecated boost/swap.hpp include. (#108)
This header is deprecated and will be removed. There is
boost/core/invoke_swap.hpp as a replacement, but it isn't needed in this case.
2023-09-03 11:23:14 +03:00
Antony Polukhin
7b45064ed8 Drop C++03 support (#107)
Drop boost::move and boost::bind dependencies. Use Boost.PP in less cases
2023-08-25 16:02:34 +03:00
Antony Polukhin
e4447e892f Update copyright years 2023-01-19 10:24:10 +03:00
Antony Polukhin
40621b1256 fix c++03 compilation 2022-09-02 16:24:24 +03:00
Antony Polukhin
bab78044e4 add tests from #100 2022-09-01 14:20:47 +03:00
Antony Polukhin
d2fdf2384b update copyright years 2022-01-30 15:03:18 +03:00
Antony Polukhin
18853a6bfb disable fusion_interop test for compilers with no variadic templates 2021-09-20 22:08:50 +03:00
Antony Polukhin
445d790b2f add a test for trac issue 8721 2021-09-20 20:27:43 +03:00
Antony Polukhin
fce20c67fb simplify test to produce smaller binary 2021-09-20 18:03:27 +03:00
Antony Polukhin
a8e42245e1 fix b2 warning 2021-09-20 18:02:42 +03:00
Antony Polukhin
afe0914af5 disable test that is broken since C++20 2021-09-20 13:30:23 +03:00
Antony Polukhin
d80cb48f02 fix issues found by inspect tool 2021-04-26 21:44:35 +03:00
Antony Polukhin
dcaa5ba5ef Specify address model for MSVC
Relates boostorg/build#659
2021-01-04 11:06:38 +03:00
Antony Polukhin
9221b1513c update copyright years 2021-01-03 20:10:23 +03:00
Antony Polukhin
03035b2f6b Fix wrong usage of boost::move (fixes #53, #82) 2020-07-23 15:28:07 +03:00
Edward Diener
1fa5aa0e0a Merge branch 'develop' of https://github.com/eldiener/variant into cppbuilder 2020-04-08 20:45:11 -04:00
Edward Diener
a3f266706b Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-31 22:52:39 -04:00
Bart Siwek
74a9d7691c Fix GCC zero-as-null-pointer-constat warnings 2020-03-28 11:42:56 +01:00
Antony Polukhin
bee77d42a8 update copyright year 2020-01-11 19:35:53 +03:00
Nikita Kniazev
93c21189e6 Remove unused includes 2019-12-01 19:06:41 +03:00
Antony Polukhin
b18c22a8ff Revert "Merge pull request #59 from Kojoley/recursive_wrapper-move-constructor-pointer-stealing"
This reverts commit dcbfeb9892, reversing
changes made to 055487c5bb.

Reverts adding a pointer stealing to the recursive_wrapper.
2019-05-01 20:57:40 +03:00
Ed Catmur
7331d648f4 Add test. 2019-04-21 00:50:00 +01:00
Antony Polukhin
5be655d46f Update appveyor.yml 2019-04-17 21:23:36 +03:00
Antony Polukhin
b1d66215e1 Update appveyor.yml 2019-04-14 21:58:31 +03:00
Antony Polukhin
74ea828cde Merge pull request #65 from boostorg/feature/std-hash
Add std::hash specialization for variant (refs #49)
2019-04-12 10:55:46 +03:00
Antony Polukhin
dcbfeb9892 Merge pull request #59 from Kojoley/recursive_wrapper-move-constructor-pointer-stealing
recursive_wrapper move constructor pointer stealing
2019-04-12 10:52:35 +03:00
Antony Polukhin
055487c5bb Avoid git clone issues 2019-04-02 09:23:59 +03:00
Antony Polukhin
31dcc43faf Add std::hash specialization for variant (refs #49) 2019-04-01 23:45:21 +03:00
Nikita Kniazev
e20f5eb7b8 Suppress warnings in tests 2019-03-26 17:43:32 +03:00
Nikita Kniazev
df4e29cf1e Use boost type_traits 2019-02-24 01:44:02 +03:00
Nikita Kniazev
32794c2340 More work done 2019-02-24 00:21:54 +03:00
Nikita Kniazev
754eaf824f Updated the documentation 2019-02-16 18:55:42 +03:00
Nikita Kniazev
3e93fd428c followup to recursive_wrapper pointer stealing
- Added macro to switch to the old behavior
  - Added valueless_recursive method
  - Removed nullptr and exchange

TODO:
  - Docs
2019-02-08 20:19:21 +03:00
Nikita Kniazev
1364d3ff5f recursive_wrapper move constructor pointer stealing
Instead of allocating a new object just steal the pointer from the other
recursive_wrapper. It is much cheaper and allows to mark the move constructor
noexcept (allows variant to move the object without backup copying it).
2019-01-31 21:15:10 +03:00
Antony Polukhin
d069511e31 Update copyright 2019-01-17 13:00:51 +03:00
Antony Polukhin
ba0746fc9d Temporary disable test for issue #53 2019-01-08 14:18:24 +03:00
Antony Polukhin
46d8b92f73 Increase fetch depth to avoid issues with submodules 2019-01-08 01:01:52 +03:00
Antony Polukhin
b4acbdf3e8 Add test from #53 2019-01-07 23:32:07 +03:00
Antony Polukhin
9af72f37bc Update variant_visit_test.cpp 2019-01-05 20:15:22 +03:00
Nikita Kniazev
4b37f9b804 Fixed visitor result type deduction at rvalue ref operators 2019-01-05 19:54:20 +03:00
Antony Polukhin
4addd1022a Minor changes for the build system 2018-12-23 16:34:00 +03:00
Antony Polukhin
283bff8e21 Merge branch 'develop' into ldionne-visit_deduce 2018-12-23 15:32:54 +03:00
Antony Polukhin
7d865cc369 CI fixes 2018-12-23 12:11:34 +03:00