Commit Graph
221 Commits
Author SHA1 Message Date
Antony Polukhin 045ab1d779 Merge pull request #8 from cdglove/runtime_cast
Add the concept of runtime_cast to type index as an emulation of dynamic_cast..
2016-09-29 00:45:39 +04:00
Antony Polukhin 6cf5288a8c Merge pull request #9 from efcs/clang-4-fix
Support Clang version 4.0.
boost-1.62.0
2016-08-30 22:43:14 +04:00
Eric Fiselier 4453acf867 Support Clang 4.0 and newer 2016-08-29 22:10:34 -06: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 9cd218bbc4 Add missing include to example. 2016-08-19 18:42:22 -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 76cae485cb Merge branch 'runtime_cast' of github.com:cdglove/type_index into runtime_cast
# Conflicts:
#	include/boost/type_index/runtime_cast.hpp
#	test/runtime_cast_test.cpp
2016-07-15 17:18:42 -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
Chris Glover 1dc8310826 Optimization: Don't check all bases. 2016-07-15 10:10:07 -04:00
Chris Glover b230140529 First version. 2016-07-15 08:49:54 -04:00
Antony Polukhin 31ec1d2524 Fix link in README 2016-06-05 13:02:56 +03:00
Antony Polukhin 40e9bd336a Test on same Boost branch when running Appveyor 2016-06-04 21:10:20 +03:00
Antony Polukhin 767c724983 README now shows build status on Windows platform 2016-06-04 15:59:29 +03:00
Antony Polukhin 24708cc109 One more example and integrate examples into the docs 2016-03-30 23:24:53 +03:00
Antony Polukhin 57205874ae Added namespace detection example 2016-03-30 22:28:53 +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 e96a6e8f80 Use constexpr in documentation 2016-03-29 21:38:46 +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 8b6c3facb3 Fixes and GCC related improvements 2016-03-28 22:42:39 +03:00
Antony Polukhin ffb98af0dd Attempt to use libc++ in TravisCi tests no. 6 2016-03-27 22:05:40 +03:00
Antony Polukhin 9122022faf Attempt to use libc++ in TravisCi tests no. 5 2016-03-27 21:50:33 +03:00
Antony Polukhin 18dbaea6ee Attempt to use libc++ in TravisCi tests no. 4 2016-03-27 21:42:08 +03:00
Antony Polukhin 6dabf11504 Third attempt to use libc++ in TravisCi tests 2016-03-27 21:32:18 +03:00
Antony Polukhin 7bd788c5d7 Second attempt to use libc++ in TravisCi tests 2016-03-27 21:27:10 +03:00
Antony Polukhin 2d87bc6194 Attempt to use libc++ in travisCi tests 2016-03-27 18:38:08 +03:00
Antony Polukhin 36efa3969b Use the cstring workaround only for GCC 2016-03-27 14:46:27 +03:00
Antony Polukhin 551535f8cf Dropped the using syntax 2016-03-26 16:43:22 +03:00
Antony Polukhin 3f004511a2 Do not use decltype 2016-03-26 16:24:51 +03:00
Antony Polukhin 30bb93bd23 Test on clang too 2016-03-26 16:01:42 +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 1ec4460244 Merge .travis.yml from klemens-morgenstern 2016-03-25 21:26:47 +03:00
Antony Polukhin 1ed55a2f12 Merge branch 'constexpr14' of github.com:boostorg/type_index into constexpr14 2016-03-25 21:16:21 +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
Antony Polukhin 37484c19ec Merge pull request #5 from klemens-morgenstern/develop
FIxed space removal
2016-02-13 23:50:45 +03:00
klemens-morgenstern bb02f97414 Merge remote-tracking branch 'remotes/fork/develop' into develop 2016-02-13 19:12:19 +01:00
klemens-morgenstern b9db462091 fixed length with noexcept 2016-02-13 19:11:04 +01:00
klemens-morgenstern cf4f09b520 Merge branch 'develop' of https://github.com/boostorg/type_index into develop 2016-02-13 19:09:13 +01:00
klemens-morgenstern 5de7f5def6 added comparison test 2016-02-13 19:08:59 +01:00
klemens-morgenstern 1c8190cc62 FIxed space removal
I only tested that with templates, the space removal was too much.

I'll add a test for that, sry.
2016-02-13 18:52:29 +01:00
Antony Polukhin 6ff2a75da3 Merge pull request #4 from klemens-morgenstern/develop
added in variant for MSVC with noexcept
2016-02-13 19:48:26 +03:00
klemens-morgenstern 58b0f69e52 added in variant for MSVC with noexcept 2016-02-12 10:00:44 +01:00
Antony Polukhin 478da3512a Merge pull request #7 from norbertwenzel/develop
fixed two typos in documentation
2016-01-28 22:51:50 +03:00