98 Commits

Author SHA1 Message Date
Antony Polukhin
ed36384663 Update copyright years 2026-01-04 11:14:25 +03:00
Antony Polukhin
378d97682a Make ctti_type_index::name() return value pretty by default in C++14 (#21)
Also reduce resulting binary size and improve the documentation.

Fixes: https://github.com/boostorg/type_index/issues/45
2025-12-31 00:10:55 +03:00
Antony Polukhin
97346351f8 Modernize the code (#19) 2025-12-23 20:23:47 +03:00
Antony Polukhin
f2a3bdd29c CI: workaround CMake test failures on MSVC (#18) 2025-10-18 15:18:48 +03:00
Alexander Grund
a33e418f39 CI: Error when Windows CMake test fails and fix RTTI flags in CMake (#43)
Only the exit code of the last command is considered, so make sure CTest is last
2025-10-14 12:58:35 +03:00
Antony Polukhin
898c212ff2 Run all the tests in CMake, add CMake runs into CI. Drop dependency on Boost.Core (#17) 2025-10-07 20:25:48 +03:00
Antony Polukhin
dc78cf1825 Implement initial version of C++20 module boost.type_index (#15)
`#include <boost/type_index...` is now implicitly does `import boost.type_index` 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_TYPE_INDEX_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:35:17 +03:00
Antony Polukhin
14ee2581bd Fix Appveyor CI runs (#14) 2025-03-22 10:58:00 +03:00
Antony Polukhin
a418e8414b Update copyright years 2025-01-07 20:41:54 +03:00
René Ferdinand Rivera Morell
795773e0e0 Add support for modular build structure. (#40)
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:38:13 +03:00
Antony Polukhin
e37bc99e85 Modernize the alignment test 2024-01-07 14:49:28 +03:00
Antony Polukhin
43dd1e135a Update copyright years 2024-01-07 12:59:10 +03:00
Antony Polukhin
29ab3258a7 do not run tests on old MSVC in appveyor 2023-08-25 14:06:21 +03:00
Antony Polukhin
34e6c165da run tests on more compilers 2023-08-25 11:59:54 +03:00
Antony Polukhin
b9815d397b Drop C++03 support and Boost.Preprocessor usage (#13) 2023-08-11 21:34:25 +03:00
Antony Polukhin
7bde4f36af Update CI (3) 2023-05-27 17:30:17 +03:00
Antony Polukhin
9507b06b68 Update copyright years 2023-01-19 10:22:50 +03:00
Antony Polukhin
cca370a918 update copyright years 2022-01-30 15:01:13 +03:00
Antony Polukhin
c79f1c8d5d Specify address model for MSVC
Relates boostorg/build#659
2021-01-04 11:04:54 +03:00
Antony Polukhin
843ee6848b update copyright years 2021-01-03 20:01:31 +03:00
Antony Polukhin
f2e395a7f3 update copyright years 2020-01-22 23:26:24 +03:00
Antony Polukhin
9936c31851 Attempt to fix CI 2019-11-12 09:00:57 +03:00
Antony Polukhin
bf33e63feb CI fixes 2019-11-11 18:47:46 +03:00
Antony Polukhin
216c21b728 Fix issues found by inspect too and add it to CI 2019-08-28 17:54:46 +03:00
Antony Polukhin
f68d6dc073 update copyrights 2019-01-17 22:45:35 +03:00
Antony Polukhin
c585d74669 Disable part of the tests for _MSC_VER == 1916 and below 2018-12-16 11:55:04 +03:00
Antony Polukhin
32909cb25a fixes for tests 2018-12-16 11:30:59 +03:00
Antony Polukhin
d9d13b9574 ci update 2018-12-14 11:56:02 +03:00
Antony Polukhin
09f0bc23c5 fix b2 warnings 2018-09-22 22:13:42 +03:00
Antony Polukhin
c9c1412a05 Tests to reproduce the track issue 13621 2018-07-28 17:44:17 +03:00
Antony Polukhin
bd19ed1a87 Disable link-fail tests and restore MinGW CI 2018-01-23 10:40:56 +03:00
Antony Polukhin
727cdadc86 Restore link-fail 2018-01-16 01:21:20 +03:00
Antony Polukhin
5bc4f54183 Dropped -fail to check the MSVC builds 2018-01-16 01:10:28 +03:00
Antony Polukhin
918e59c109 One more fix in tests for /GR- flag 2018-01-16 00:44:11 +03:00
Antony Polukhin
cd659212aa Workaround for /GR- override in tests 2018-01-16 00:28:48 +03:00
Antony Polukhin
70e51a62e9 Workaround for /GR- override that disables link time assertions 2018-01-15 23:21:34 +03:00
Antony Polukhin
05feacf14b Relax comparing_anonymous_types_between_modules test as it was failing to too many builds (fixes #17) 2018-01-15 00:14:47 +03:00
Antony Polukhin
1a7226bc0f Do not define BOOST_TEST_*E macros, as they are now defined in boost/core/lightweight_test.hpp 2017-10-01 22:30:59 +03:00
Antony Polukhin
f82eab8882 Merge pull request #15 from ecatmur/ecatmur-stl-hash
Include <boost/functional/hash.hpp> if required
2017-05-06 10:26:30 +03:00
Chris Glover
d3d4e8d18a Change runtime cast test to use the separated macro (BOOST_TYPE_INDEX_IMPLEMENT_RUNTIME_CAST) and add a new test that ensures BOOST_TYPE_INDEX_REGISTER_RUNTIME_CLASS does indeed supply both functions. 2017-02-25 15:35:34 -05:00
Antony Polukhin
342d835289 Run MinGW tests too (thanks to Pavel Filinov for showing that appveyor apability) 2017-02-23 21:35:40 +03:00
Edward Catmur
5cacb67510 Make it derived class responsibility to include <boost/functional/hash.hpp> 2017-02-16 21:55:12 +00:00
Antony Polukhin
40985de221 Update CI scripts and tests 2016-11-18 22:31:01 +03:00
Chris Glover
b1ed011b6e Cleaner removal of std::shared_ptr tests on compilers without C++11 shared_ptr 2016-10-01 14:49:28 -04:00
Chris Glover
4459af9532 FIx a unit test so that the NULL check happens before the dereference. 2016-09-29 22:29:35 -04:00
Chris Glover
b61a7423b7 Update unit test to remove shared_ptr on compilers less than C++11. 2016-09-29 22:29:10 -04:00
Chris Glover
b6b23bad3a Cleanup line endings, file endings, some spacing etc. 2016-08-21 12:47:44 -04:00
Chris Glover
3bb646d19b - Use boost::addressof instead of &
- Remove nullptr from test
- add boost::typeindex::bad_runtime_cast, remove std::bad_cast
2016-08-21 11:01:26 -04:00
Chris Glover
ad26256d09 Initial documentation. 2016-08-11 10:31:16 -04:00
Chris Glover
5af925602e Invoke smart_ptr tests. 2016-08-10 10:06:41 -04:00