2
0
mirror of https://github.com/boostorg/any.git synced 2026-01-19 16:12:09 +00:00

89 Commits

Author SHA1 Message Date
Antony Polukhin
fbaec2978b Update copyright years 2026-01-02 13:35:47 +03:00
Antony Polukhin
58651618be Fix import std detection in CMake and CMake fixes for tests (#37)
Fixes: https://github.com/boostorg/any/issues/34
Closes: https://github.com/boostorg/any/pull/35
2026-01-01 10:55:49 +03:00
Antony Polukhin
a863df824b Run all the tests in CMake, add CMake runs into the CI (#31) 2025-10-07 20:26:46 +03:00
Antony Polukhin
306d8a1b18 Implement initial version of C++20 module boost.any (#30)
`#include <boost/any...` is now implicitly does `import boost.any` if the modules are supported 
All the library internals now have unconditional module level linkage.

Significant differences from https://anarthal.github.io/cppblog/modules3:
* `BOOST_ANY_USE_STD_MODULE` macro switch for `import std;` / `includes` while building module. This allows to use module in C++20 and even without usable  `std` module.
2025-05-12 17:54:42 +03:00
Antony Polukhin
8292e18318 Update copyright years 2025-01-05 19:35:57 +03:00
René Ferdinand Rivera Morell
436e2991f9 Add support for modular build structure. (#29)
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

This PR will be changed to ready for review, i.e. not draft, when the above are merged. Do not merge this one until that time.
2024-08-24 12:35:27 +03:00
Antony Polukhin
aee53090c0 Update tests requirements 2024-01-21 14:08:24 +03:00
Antony Polukhin
f53cd5d269 Update copyright years 2024-01-07 13:49:50 +03:00
Antony Polukhin
71810075f5 Switch to Boost.Core lightweight testing (#28) 2024-01-07 13:48:21 +03:00
Antony Polukhin
f104bceb32 Drop C++03 and C++98 support (#26) 2023-09-04 09:37:22 +03:00
Antony Polukhin
9bbc302378 unique_any now could take over ownership of boost::any content 2023-05-14 19:43:19 +03:00
Antony Polukhin
20deb94830 fix typos 2023-05-14 17:28:09 +03:00
Antony Polukhin
fd44ca3f6b add Doxygen docs to the basic_any and add tests on const unique_any (refs #24) 2023-05-09 15:54:02 +03:00
Antony Polukhin
abb81d511c a few more tests for unique_any (refs #24) 2023-05-08 19:20:05 +03:00
Antony Polukhin
e8374f7391 more tests and better diagnostics for unique_any (refs #24) 2023-05-08 09:58:20 +03:00
Antony Polukhin
a090bf3110 more fixes and tests for unique_any (refs #24) 2023-05-07 16:51:02 +03:00
Antony Polukhin
939c3382f3 more tests and fixes for unique_any (refs #24) 2023-05-07 10:47:56 +03:00
Antony Polukhin
55160ab22a initial fixes and tests for the unique_any (refs #24) 2023-05-06 21:13:28 +03:00
Antony Polukhin
89d456572b Update copyright years 2023-01-19 09:58:55 +03:00
Antony Polukhin
d1b242e85d update copyright years 2022-01-30 12:46:03 +03:00
Antony Polukhin
10d1048c92 tests bad_any_cast type 2021-04-21 09:38:56 +03:00
Antony Polukhin
fcb5ff3cc6 fix typos in basic_any tests 2021-04-20 09:41:37 +03:00
Antony Polukhin
3544bb8eea fix directories 2021-04-17 21:44:13 +03:00
Antony Polukhin
0894b8c2ab more tests for swapping anys 2021-04-13 20:51:05 +03:00
Antony Polukhin
37125869a4 more polishings 2021-04-11 12:53:43 +03:00
Antony Polukhin
8db591c367 minor formatting fixes and more assertions added 2021-04-10 22:25:50 +03:00
Antony Polukhin
69d2f149f0 fix another test 2021-04-10 20:46:50 +03:00
Antony Polukhin
a4aa203d4e fix test 2021-04-10 10:11:26 +03:00
Antony Polukhin
a978f9ab48 diagnose assignments of basic_anys with different template parameters 2021-04-09 21:50:41 +03:00
Antony Polukhin
b85819ac30 diagnose attempts to write one any into another 2021-04-09 21:09:07 +03:00
Antony Polukhin
5e3b84d5a1 fix for compilers with partial support of C++11 2021-04-06 21:03:40 +03:00
Antony Polukhin
0b08bec99d deduplicate tests and fix tests to fail 2021-04-06 21:01:05 +03:00
Antony Polukhin
70c977d239 fixes, tests, cleanups and polishings 2021-04-06 20:40:40 +03:00
Antony Polukhin
4fe63b3b6a fix tests for C++03 2021-04-06 09:53:59 +03:00
Antony Polukhin
8efcc65e0b Merge branch 'develop' of github.com:boostorg/any into antoshkka/rarutyun-tweaks 2021-04-06 09:30:19 +03:00
Ruslan Arutyunyan
371c45e43a Add more tests for basic any. basic_any_cast -> any_cast 2021-03-27 21:11:14 +03:00
Antony Polukhin
9e07dee6de Use 32 address model in some of the MSVC tests 2021-01-04 02:50:51 +03:00
Antony Polukhin
589e95e9a7 Pass address-model to msvc builds 2021-01-03 22:00:53 +03:00
Antony Polukhin
4866f58c42 update copyright years 2021-01-03 12:39:40 +03:00
Giovanni Mascellani
37a2790ce7 Fix typo in copyright headers. (#14) 2020-07-23 15:35:00 +03:00
Antony Polukhin
d9f1a64d91 More MSVC build fixes 2020-01-22 15:58:33 +03:00
Antony Polukhin
6035959ae8 Fix build script 2020-01-22 14:34:19 +03:00
Ruslan Arutyunyan
6a340fc82e Add common header for basic_any and any move tests 2019-12-02 01:25:10 +03:00
Antony Polukhin
7bf2e2278e replace tab with spaces and run inspection tool in CI 2019-08-27 22:46:28 +03:00
Ruslan Arutyunyan
ac73fa93b5 Update tests config 2019-06-20 00:43:46 +03:00
Ruslan Arutyunyan
6e39562a9f Add new class template basic_any.
Modification:
    Add new class template boost::basic_any with small object optimization
    and virtual calls remplacement.
    Adopt existing boost::any tests for new functionality
2019-06-20 00:35:07 +03:00
Antony Polukhin
63690b0114 Update appveyor.yml 2019-04-24 22:09:25 +03:00
Antony Polukhin
bfb7d0172c Update CI scripts to avoid clone issues and update copyright years 2019-01-10 23:35:25 +03:00
Antony Polukhin
9f2a3ea721 sync appveyor CI script with boost.dll 2018-12-13 22:43:58 +03:00
Antony Polukhin
6be8f91aa5 Appveyor fixes (6) 2018-11-20 23:30:09 +03:00