Commit Graph
52 Commits
Author SHA1 Message Date
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
Chris Glover 2fb667a6a0 Experiment with a version of runtime_cast that has only a single registration macro. 2016-08-09 23:13:54 -04:00
Chris Glover 12751e0f83 Split runtime_cast into several files so clients can selectively include only what they use.
Add support for shared_ptrs.
2016-08-09 14:51:36 -04:00
Chris Glover 0b006b6af6 Remove all references to std::type_traits
Replace variadic template with boost preprocessor.
2016-08-08 12:16:58 -04:00
Chris Glover ee7b15a493 First version.
TODO: Error messages when using mismatched types are not clear. Needs consideration.
2016-07-15 16:30:16 -04:00
Antony Polukhin 40e9bd336a Test on same Boost branch when running Appveyor 2016-06-04 21:10:20 +03:00
Antony Polukhin 1b4a85764f Fixing test under Windows 2016-03-29 23:16:17 +03:00
Antony Polukhin 1976355e8f appveyor update 1 2016-03-29 22:36:12 +03:00
Antony Polukhin 0efc48e16c Add appveyor integration and increment minor version of the library 2016-03-29 21:45:50 +03:00
Antony Polukhin 8e3466ece5 Log(N) complexity and templates depth in make_index_seq_impl, avoid usage of slow sizeof...(I), workaround GCC ICE in constexpr tests 2016-03-29 21:21:04 +03:00
Antony Polukhin 36efa3969b Use the cstring workaround only for GCC 2016-03-27 14:46:27 +03:00
Antony Polukhin 7f2b9fd31a Combine klemens-morgenstern ideas with mine. Must compile and work at least on GCC-5 2016-03-26 15:49:09 +03:00
Antony Polukhin c9f1370d0c Merge tests from klemens-morgenstern 2016-03-25 21:34:30 +03:00
Antony Polukhin 1c685fa119 Initial C++14 constexpr version of ctti_type_index. No ABI breakage 2016-03-25 21:15:52 +03:00
klemens-morgenstern 5de7f5def6 added comparison test 2016-02-13 19:08:59 +01:00
Antony Polukhin d7ec25e56b Use lightweight tests to avoid Boost.Test warnings, RTTI issues and minimize compilation times 2015-06-21 23:16:46 +03:00
Antony Polukhin 8558fd66ef remove the always failing testing_crossmodule_anonymous_no_rtti test from test suite and add notes for users about emulation limitations testing 2014-12-29 16:27:08 +03:00
Antony Polukhin 242d9a0bed Use detect_mismatch pragma when possible (refs #10404 in track) 2014-08-26 14:41:54 +04:00
Antony Polukhin 99f58714d1 Fix a lot of typos [refs #10294](https://svn.boost.org/trac/boost/ticket/10294) 2014-08-02 16:15:00 +04:00
Antony Polukhin 7b04caa160 Fixed problems reported by inspection program 2014-08-01 12:34:34 +04:00
Antony Polukhin 9fcbfd18ce Add more -DBOOST_NO_RTTI to Jamfile 2014-05-24 11:42:14 +04:00
Antony Polukhin 56bd9b401a Gix a Boost.test another chance, more macro definitions in build scripts 2014-05-22 12:38:32 +04:00
Antony Polukhin e2c227d4aa Fix a typo and improve macro definitionas in Jamfile 2014-05-21 10:47:30 +04:00
Antony Polukhin 80086cbc4f Do not use Boost.Test at all 2014-05-21 10:33:22 +04:00
Antony Polukhin 0f0902d11c Explicitly define BOOSTNO_RTTI: do not rely on ability of Boost.Config to detect RTTI 2014-05-20 21:26:33 +04:00
Antony Polukhin 6857f23e6f Use minimal subset of Boost.Test and do not depend on ability of Boost.Test to work with rtti off 2014-05-20 21:22:40 +04:00
Antony Polukhin fa2fa1805c Added always_show_run_output to ctti_print_name test rule 2014-05-14 09:32:34 +04:00
Antony Polukhin 0744f86a2c Simplify the ctti_print_name.cpp 2014-05-13 14:17:42 +04:00
Antony Polukhin 61594ba1da Fix nortti builds on Intel compiler 2014-05-13 12:03:15 +04:00
Antony Polukhin e2ceb6cf36 Log to std::cerr in ctti_print_name test and implicitly include ctti. Define BOOST_NO_RTTI for nortti test, so that even old compilers could compile tests 2014-05-12 20:11:51 +04:00
Antony Polukhin a397391b0e Added ctti_print_name.cpp to ensure that BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING macro works 2014-05-11 16:13:12 +04:00
Antony Polukhin eac9c8af2f Another attempt to disable table_of_names_no_rtti test 2014-05-08 11:37:09 +04:00
Antony Polukhin 8a8a3ec639 Fix build script 2014-05-07 16:37:57 +04:00
Antony Polukhin a184f3969f Fixed almost all the notes by Andrey Semashev except link-time assertions and ctti type name assertions 2014-05-06 18:23:26 +04:00
Antony Polukhin f7388d59b5 Fix some of the notes mentioned by Andrey Semashev (more to come) 2014-05-06 16:27:03 +04:00
Antony Polukhin 172d4a25ca Fixed issues mentioned by Dominique Devienne during Boost review 2014-05-05 19:49:56 +04:00
Antony Polukhin 6af608a827 Fixed notes mentioned by Klaim - Joël Lamotte during review 2014-05-04 20:28:45 +04:00
Antony Polukhin 5ed8543025 Changed namespace to boost::typeindex 2014-05-04 14:42:12 +04:00
Antony Polukhin a2a934dde8 Added test to ensure that alignments of ctti_data and char are same 2014-03-06 11:39:10 +04:00
Antony Polukhin 40f6ae1ede Make code thread safe even on antique/broken compilers. Improve examples and add more tests 2014-02-21 12:52:07 +04:00
Antony Polukhin 7488e75a9c Finished example with user defined type_index, improved doocs and refactored some of the functions 2014-02-20 15:36:23 +04:00
Antony Polukhin ea2e5beabb Allow runtime type info even when RTTI is off. Improve tests and examples 2014-02-19 13:03:12 +04:00
Antony Polukhin 78824176ea Minor change of interface. Added default constructors. More tests added. Documentation improved 2014-02-14 14:39:09 +04:00
Antony Polukhin c0871ef714 Removed old unused files 2014-02-06 18:46:01 +04:00
Antony Polukhin 2f9c4b7834 Restored all the tests and examples, fixed some issues 2014-02-06 18:42:08 +04:00
Antony Polukhin c43f8c1cfa Restore some of the tests and fix a bunch of bugs 2014-02-06 17:52:18 +04:00
Antony Polukhin 50d496288f Compile time type info implementation added 2014-02-06 16:53:10 +04:00