Commit Graph

  • b0737f4169 Fix formatting in README Antony Polukhin 2017-05-18 22:51:47 +03:00
  • be74716251 Use native hash_code() when possible on GCC-like compilers Antony Polukhin 2017-05-18 22:50:25 +03:00
  • f82eab8882 Merge pull request #15 from ecatmur/ecatmur-stl-hash Antony Polukhin 2017-05-06 10:26:30 +03:00
  • af61d6b8ed Merge pull request #13 from cdglove/split_register_and_implement boost-1.64.0-beta2 boost-1.64.0-beta1 boost-1.64.0 Antony Polukhin 2017-02-28 05:33:07 +04:00
  • 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. Chris Glover 2017-02-25 15:30:11 -05:00
  • 7f8af2a6e9 Merge branch 'develop' into split_register_and_implement Chris Glover 2017-02-25 13:19:16 -05:00
  • 342d835289 Run MinGW tests too (thanks to Pavel Filinov for showing that appveyor apability) Antony Polukhin 2017-02-23 21:35:40 +03:00
  • 5cacb67510 Make it derived class responsibility to include <boost/functional/hash.hpp> Edward Catmur 2017-02-16 21:55:12 +00:00
  • f2616bcd17 Correct preprocessor condition to match below Ed Catmur 2017-02-16 16:30:52 +00:00
  • 8c582362d0 Include <boost/functional/hash.hpp> if required Ed Catmur 2017-02-16 16:18:48 +00:00
  • f71d9eb3f2 Fix undefined macro warning (trac 12739) Antony Polukhin 2017-01-18 22:33:13 +03:00
  • cfcdcd647d Update CI script version Antony Polukhin 2016-12-04 02:39:22 +03:00
  • 8bee2f6939 Fix coverage info gathering in travisCI script for GCC-6 Antony Polukhin 2016-12-04 02:29:02 +03:00
  • 40985de221 Update CI scripts and tests Antony Polukhin 2016-11-18 22:31:01 +03:00
  • d8bdbad2ec Add BOOST_TYPE_INDEX_IMPLEMENT_RUNTIME_CAST, which implementes the functionality for runtime_cast to function, but does not include the BOOST_TYPE_INDEX_REGISTER_CLASS macro. Reimplement BOOST_TYPE_INDEX_REGISTER_RUNTIME_CLASS to simply call BOOST_TYPE_INDEX_IMPLEMENT_RUNTIME_CAST and BOOST_TYPE_INDEX_REGISTER_CLASS. Chris Glover 2016-11-05 16:04:13 -04:00
  • c52fdfe30c Add, and update, documentation build targets. boost-1.63.0 Rene Rivera 2016-10-07 23:07:37 -05:00
  • 7f840c882e Fix build in C++98 mode Antony Polukhin 2016-10-02 10:39:54 +03:00
  • b669f0244e Changed std::size_t to unsigned int in compile_time_type_infohelpers. Now the code is more platform independant. Antony Polukhin 2016-10-02 10:32:50 +03:00
  • d656e1879a Merge pull request #12 from cdglove/runtime_cast_test_fixes Antony Polukhin 2016-10-02 10:58:49 +04:00
  • b1ed011b6e Cleaner removal of std::shared_ptr tests on compilers without C++11 shared_ptr Chris Glover 2016-10-01 14:49:28 -04:00
  • 4d1cf425e0 Merge pull request #11 from cdglove/runtime_cast_test_fixes Antony Polukhin 2016-09-30 21:34:10 +04:00
  • d6ca24ff3c Merge branch 'runtime_cast' into runtime_cast_test_fixes Chris Glover 2016-09-29 22:31:07 -04:00
  • 4459af9532 FIx a unit test so that the NULL check happens before the dereference. Chris Glover 2016-09-29 22:29:35 -04:00
  • b61a7423b7 Update unit test to remove shared_ptr on compilers less than C++11. Chris Glover 2016-09-29 22:29:10 -04:00
  • 1a918009fd Fix comment. Chris Glover 2016-09-29 22:27:10 -04:00
  • 045ab1d779 Merge pull request #8 from cdglove/runtime_cast Antony Polukhin 2016-09-29 00:45:39 +04:00
  • 6cf5288a8c Merge pull request #9 from efcs/clang-4-fix boost-1.62.0 Antony Polukhin 2016-08-30 22:43:14 +04:00
  • 4453acf867 Support Clang 4.0 and newer Eric Fiselier 2016-08-29 22:10:34 -06:00
  • b6b23bad3a Cleanup line endings, file endings, some spacing etc. Chris Glover 2016-08-21 12:47:44 -04:00
  • 3bb646d19b - Use boost::addressof instead of & - Remove nullptr from test - add boost::typeindex::bad_runtime_cast, remove std::bad_cast Chris Glover 2016-08-21 11:01:26 -04:00
  • 9cd218bbc4 Add missing include to example. Chris Glover 2016-08-19 18:42:22 -04:00
  • ad26256d09 Initial documentation. Chris Glover 2016-08-11 10:31:16 -04:00
  • 5af925602e Invoke smart_ptr tests. Chris Glover 2016-08-10 10:06:41 -04:00
  • 2fb667a6a0 Experiment with a version of runtime_cast that has only a single registration macro. Chris Glover 2016-08-09 23:13:54 -04:00
  • 12751e0f83 Split runtime_cast into several files so clients can selectively include only what they use. Add support for shared_ptrs. Chris Glover 2016-08-09 14:51:36 -04:00
  • 0b006b6af6 Remove all references to std::type_traits Replace variadic template with boost preprocessor. Chris Glover 2016-08-08 12:16:58 -04:00
  • 76cae485cb Merge branch 'runtime_cast' of github.com:cdglove/type_index into runtime_cast Chris Glover 2016-07-15 17:18:42 -04:00
  • ee7b15a493 First version. TODO: Error messages when using mismatched types are not clear. Needs consideration. Chris Glover 2016-07-15 08:49:54 -04:00
  • 1dc8310826 Optimization: Don't check all bases. Chris Glover 2016-07-15 10:10:07 -04:00
  • b230140529 First version. Chris Glover 2016-07-15 08:49:54 -04:00
  • 31ec1d2524 Fix link in README Antony Polukhin 2016-06-05 13:02:56 +03:00
  • 40e9bd336a Test on same Boost branch when running Appveyor Antony Polukhin 2016-06-04 21:10:20 +03:00
  • 767c724983 README now shows build status on Windows platform Antony Polukhin 2016-06-04 15:59:29 +03:00
  • 24708cc109 One more example and integrate examples into the docs Antony Polukhin 2016-03-30 23:24:53 +03:00
  • 57205874ae Added namespace detection example Antony Polukhin 2016-03-30 22:28:53 +03:00
  • 1b4a85764f Fixing test under Windows Antony Polukhin 2016-03-29 23:16:17 +03:00
  • 1976355e8f appveyor update 1 Antony Polukhin 2016-03-29 22:36:12 +03:00
  • 0efc48e16c Add appveyor integration and increment minor version of the library Antony Polukhin 2016-03-29 21:45:50 +03:00
  • e96a6e8f80 Use constexpr in documentation Antony Polukhin 2016-03-29 21:38:46 +03:00
  • 8e3466ece5 Log(N) complexity and templates depth in make_index_seq_impl, avoid usage of slow sizeof...(I), workaround GCC ICE in constexpr tests Antony Polukhin 2016-03-29 21:21:04 +03:00
  • 8b6c3facb3 Fixes and GCC related improvements Antony Polukhin 2016-03-28 22:42:39 +03:00
  • ffb98af0dd Attempt to use libc++ in TravisCi tests no. 6 Antony Polukhin 2016-03-27 22:05:40 +03:00
  • 9122022faf Attempt to use libc++ in TravisCi tests no. 5 Antony Polukhin 2016-03-27 21:50:33 +03:00
  • 18dbaea6ee Attempt to use libc++ in TravisCi tests no. 4 Antony Polukhin 2016-03-27 21:42:08 +03:00
  • 6dabf11504 Third attempt to use libc++ in TravisCi tests Antony Polukhin 2016-03-27 21:32:18 +03:00
  • 7bd788c5d7 Second attempt to use libc++ in TravisCi tests Antony Polukhin 2016-03-27 21:27:10 +03:00
  • 2d87bc6194 Attempt to use libc++ in travisCi tests Antony Polukhin 2016-03-27 18:38:08 +03:00
  • 36efa3969b Use the cstring workaround only for GCC Antony Polukhin 2016-03-27 14:46:27 +03:00
  • 551535f8cf Dropped the using syntax Antony Polukhin 2016-03-26 16:43:22 +03:00
  • 3f004511a2 Do not use decltype Antony Polukhin 2016-03-26 16:24:51 +03:00
  • 30bb93bd23 Test on clang too Antony Polukhin 2016-03-26 16:01:42 +03:00
  • 7f2b9fd31a Combine klemens-morgenstern ideas with mine. Must compile and work at least on GCC-5 Antony Polukhin 2016-03-26 15:49:09 +03:00
  • c9f1370d0c Merge tests from klemens-morgenstern Antony Polukhin 2016-03-25 21:34:30 +03:00
  • 1ec4460244 Merge .travis.yml from klemens-morgenstern Antony Polukhin 2016-03-25 21:26:47 +03:00
  • 1ed55a2f12 Merge branch 'constexpr14' of github.com:boostorg/type_index into constexpr14 Antony Polukhin 2016-03-25 21:16:21 +03:00
  • 1c685fa119 Initial C++14 constexpr version of ctti_type_index. No ABI breakage Antony Polukhin 2015-08-01 20:13:38 +03:00
  • 37484c19ec Merge pull request #5 from klemens-morgenstern/develop Antony Polukhin 2016-02-13 23:50:45 +03:00
  • bb02f97414 Merge remote-tracking branch 'remotes/fork/develop' into develop klemens-morgenstern 2016-02-13 19:12:19 +01:00
  • b9db462091 fixed length with noexcept klemens-morgenstern 2016-02-13 19:11:04 +01:00
  • cf4f09b520 Merge branch 'develop' of https://github.com/boostorg/type_index into develop klemens-morgenstern 2016-02-13 19:09:13 +01:00
  • 5de7f5def6 added comparison test klemens-morgenstern 2016-02-13 19:08:59 +01:00
  • 1c8190cc62 FIxed space removal klemens-morgenstern 2016-02-13 18:52:29 +01:00
  • 6ff2a75da3 Merge pull request #4 from klemens-morgenstern/develop Antony Polukhin 2016-02-13 19:48:26 +03:00
  • 58b0f69e52 added in variant for MSVC with noexcept klemens-morgenstern 2016-02-12 10:00:44 +01:00
  • 478da3512a Merge pull request #7 from norbertwenzel/develop Antony Polukhin 2016-01-28 22:51:50 +03:00
  • a373a4c7ed fixed two typos in documentation Norbert Wenzel 2016-01-27 20:13:40 +01:00
  • 34835b90e3 Ignore tests coverage for unrelated libraries Antony Polukhin 2016-01-05 16:49:41 +03:00
  • 236fdc8dba Update .travisci to use non-sudo approach Antony Polukhin 2016-01-05 16:39:43 +03:00
  • 1ff942f329 Fix old MSVC warning boost-1.61.0 Antony Polukhin 2015-12-10 20:55:45 +03:00
  • f58844637c travis fixes Antony Polukhin 2015-08-22 21:21:46 +03:00
  • 9fede62a7c Fix travis build Antony Polukhin 2015-08-22 12:55:55 +03:00
  • 48d50ae178 Run TravisCI tests using valgrind Antony Polukhin 2015-08-22 11:44:54 +03:00
  • 743b2a8851 Initial C++14 constexpr version of ctti_type_index. No ABI breakage Antony Polukhin 2015-08-01 20:13:38 +03:00
  • 7e2a538eb5 Fixed semicolon warnings boost-1.60.0 boost-1.59.0 Antony Polukhin 2015-07-30 23:00:41 +03:00
  • e5e105013a Fix shadow warning for name variable (svn #11503) Antony Polukhin 2015-07-28 22:53:24 +03:00
  • d7ec25e56b Use lightweight tests to avoid Boost.Test warnings, RTTI issues and minimize compilation times Antony Polukhin 2015-06-21 23:16:46 +03:00
  • c0f75c27fa Avoid warnings in some tests and do more checks Antony Polukhin 2015-06-18 22:01:45 +03:00
  • 3e6695971d Removed applied patches Antony Polukhin 2015-06-17 21:54:04 +03:00
  • 8d3127935d Drop dependency to Boost.Functional Antony Polukhin 2015-04-25 12:44:27 +03:00
  • d585fc3673 Merge pull request #6 from akumta/patch-1 boost-1.58.0 Antony Polukhin 2015-03-12 16:20:12 +04:00
  • 6b5d2743c5 Update compile_time_type_info.hpp akumta 2015-03-10 13:44:18 -07:00
  • 8558fd66ef remove the always failing testing_crossmodule_anonymous_no_rtti test from test suite and add notes for users about emulation limitations testing Antony Polukhin 2014-12-29 16:27:08 +03:00
  • 8ddc5feac4 Updated README.md and added .travis.yml Antony Polukhin 2014-12-23 14:33:20 +03:00
  • 8b7534889b Merge pull request #5 from MarcelRaad/patch-1 Antony Polukhin 2014-12-17 23:04:38 +03:00
  • 697e09bda9 Allow BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY for MSVC Marcel Raad 2014-12-08 18:31:09 +01:00
  • 242d9a0bed Use detect_mismatch pragma when possible (refs #10404 in track) boost-1.57.0 Antony Polukhin 2014-08-26 14:41:54 +04:00
  • 99f58714d1 Fix a lot of typos [refs #10294](https://svn.boost.org/trac/boost/ticket/10294) Antony Polukhin 2014-08-02 16:15:00 +04:00
  • 7b04caa160 Fixed problems reported by inspection program Antony Polukhin 2014-08-01 12:34:34 +04:00
  • 4d221d4f71 Minor changes: added consts and replaced BOOST_THROW_EXCEPTION with throw_exception Antony Polukhin 2014-06-16 09:42:21 +04:00
  • 806a192df1 Merge pull request #4 from Lastique/patch-1 Antony Polukhin 2014-06-16 09:31:49 +04:00