Commit Graph
53 Commits
Author SHA1 Message Date
Antony Polukhin dc4fec2bad Improved the documentation and static assertion added for situations when compiler is not detected and boost::template_index is used. v1.0 2013-10-23 19:15:26 +04:00
Antony Polukhin c60a800c80 Attemt to get rid of boost/current_function.hpp and do not ignore errors when compiler is unknown 2013-10-23 17:05:26 +04:00
Antony Polukhin d4b02f7b00 Update .gitignore 2013-10-23 16:23:55 +04:00
Antony Polukhin 11bf8ef80f Added an .gitignore file to simplify testing and development 2013-10-23 14:15:33 +04:00
Antony Polukhin d1c4991c50 Fix line endings 2013-10-23 13:35:23 +04:00
Antony Polukhin 5445bbc85f Added notes about mixing objects compiled with different RTTI falgs 2013-10-22 17:00:03 +04:00
Antony Polukhin 6d1d4b62f3 Make one of the tests work with unpopular compilers. 2013-10-21 12:46:29 +04:00
Antony Polukhin 6b283076b9 Added more tests for checking work of RTTI on/off mixes. 2013-10-21 12:36:32 +04:00
Antony Polukhin 5078498c86 Added two tests that attempt to mix rtti-on and rtti-off modules.
Those two tests must fail diring linking.
2013-10-18 16:00:04 +04:00
Antony Polukhin 5f5d6bf45f Added cross module tests 2013-10-18 13:59:09 +04:00
Antony Polukhin 42699990f0 Added missing inline keywords. 2013-10-17 14:20:31 +04:00
Antony Polukhin 831151a92b Added the .gitattributes for EOL mappings 2013-10-17 13:47:43 +04:00
Antony Polukhin 2f431f280d Fixed docs issues found by Niall Douglas, the review manager.
* Fixed a lot of typos
* Added info about type_id_rtti_only behaviour without RTTI
* Added a BOOST_ASSERT_MESSAGE foe a more user friendly error output
* Added `Code bloat` section and refactored the `Performance` section
* More verbose examples
And also:
* Added missing headers
* Fixed Jamfile (now ALL the examples run)
* Added some more BOOST_NOEXCEPT
2013-10-17 11:46:04 +04:00
Antony Polukhin 65953f8793 Fixed name demangling for cvr_saved types 2013-10-17 10:28:49 +04:00
Antony Polukhin 5c4082cddf Docs updated to reflect new abilities of type_index class. 2013-10-16 17:24:28 +04:00
Antony Polukhin b96900f6cd Added C++11 related tests 2013-10-16 16:59:10 +04:00
Antony Polukhin ecb9839e04 Now type_index class can store cvr modifiers too. 2013-10-16 16:43:32 +04:00
Antony Polukhin c7020e6ecd Fixed example compilation under GCC compiler. 2013-10-15 14:56:36 +04:00
Antony Polukhin baa68454a0 Fixed compilation (include was missing) 2013-10-15 14:51:25 +04:00
apolukhin 83b8a47c2a New examples
Added a folder with examples. Examples are compiled and run during test
run. Documentation now uses source code of examples in the "Examples"
section
2013-10-14 19:23:18 +04:00
Antony Polukhin 2557b1f8e1 Updated the docs for header files. 2013-10-12 20:04:10 +04:00
Antony Polukhin 9cf27718b6 Add info about the patch file to README and get rid of possible memory leak 2013-10-11 14:59:56 +04:00
Antony Polukhin 2b52f157ae Patch for Boost.Test that allows compilation of tests with RTTI disabled 2013-10-11 13:51:53 +04:00
apolukhin 772d598bb8 Make RTTI related comparisons faster
Some platforms map same symbols at the same addresses. Enable native
typeinfo comparisons for compilers that have all the info about
platforms and correctly compare RTTI across modules.
Add more BOOST_NOEXCEPT modifiers
2013-10-10 19:10:38 +04:00
apolukhin 27170475bd Disable RTTI in Jamfile in a clever way
Disable RTTI in Jamfile and assert that no-rtti tests are really run
with RTTI disabled
2013-10-10 18:30:10 +04:00
apolukhin 7a958aa5e5 Bugfixes and more tests 2013-10-10 18:08:30 +04:00
ontoquad d66810d2cc Single type_index.hpp file was split to a few smaller
Implementing feature request of Boost.Log maintainer:
Now you can choose and include only the RTTI based version or only the
CTTI based version.
More tests added.
2013-10-10 17:47:30 +04:00
apolukhin 83f74a09e4 Create README.md 2013-07-23 15:54:50 +04:00
Antony Polukhin dcbfd27035 Update documentation (refs #3) 2013-03-05 00:03:07 +04:00
Antony Polukhin a4a2760aaa Make type_index constructor from std::type_info public (fixes #3) 2013-03-04 23:11:06 +04:00
Antony Polukhin 7ab05fa6f3 Removed unrequired file 2012-08-14 16:22:36 +04:00
Antony Polukhin de2bff19ba Documentation source update 2012-08-14 16:18:09 +04:00
Antony Polukhin 52caa2b3e2 Micro optimizations 2012-08-14 15:53:07 +04:00
Antony Polukhin 45fbd1f85d Documentation source update 2012-07-18 22:50:24 +04:00
Antony Polukhin 55e10e8468 Fix typo in documentation 2012-07-18 22:35:26 +04:00
Antony Polukhin 6dd093991b Fix for some patched libraries 2012-07-12 22:58:49 +04:00
Antony Polukhin 2cab27489e * Documentation updates
* Added BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP BOOST_TYPE_INDEX_CTTI_END_SKIP user macro
2012-07-09 22:09:47 +04:00
apolukhin d661165c43 Merge pull request #2 from K-ballo/master
Thanks, now documentation is more readable! But IMO should be "some implementations of `typeid(T)` strip const", not "some implementations of `typeid(T)` strips const"; "Think of it, as of `T` in `template <class T>`", not "Think of it, as `T` in `template <class T>`".
2012-07-07 08:41:42 -07:00
K-ballo a6bddfa8cd - Documentation changes
Signed-off-by: K-ballo <k@fusionfenix.com>
2012-07-07 01:37:27 -03:00
apolukhin 8ecedc4461 Merge pull request #1 from K-ballo/master
Merged typos fix. (Thanks to K-ballo for fixing that)
2012-07-03 20:54:17 -07:00
K-ballo 938034b166 Fixed typos in code:
- Retrurns -> Returns
- comutative -> commutative
- overlaod -> overload

Replaced tabs with spaces.

Signed-off-by: K-ballo <k@fusionfenix.com>
2012-07-03 21:00:59 -03:00
Antony Polukhin 33d7985c8b Optimized hash_code() 2012-07-03 20:58:03 +04:00
Antony Polukhin b88b75b329 * Performance update for GGC 4.5 and newer
* type_id_rtti_only function added
* Documentation and tests updates
2012-06-26 21:17:42 +04:00
Antony Polukhin 303f0e0ba4 Added patched folder, that contains patched versions of existing boost libraries patched by type_index library (not tested) 2012-06-10 19:55:44 +04:00
Antony Polukhin 3f9fa964d5 Added tests for comparison of type_index with std::template_info 2012-06-10 19:52:55 +04:00
Antony Polukhin 3108a705c1 * Default constructors added
* Fixed some warnings
* Reduced code bloat when using template_index
2012-06-10 19:47:34 +04:00
Antony Polukhin b800b9d71d Doxygen documentation updated 2012-06-09 23:18:24 +04:00
Antony Polukhin 311246d1a4 * Reduced size of binary in case of template_index usage
* Added noexcept modifiers
* Added comparison operators for comparison with std::type_info
2012-06-09 22:01:36 +04:00
Antony Polukhin ad1c01394b Updated dxygen documantation. Small bugfixes 2012-06-03 19:50:11 +04:00
Antony Polukhin a1e348ecc9 Documentation source update 2012-06-03 19:45:01 +04:00