forked from boostorg/type_index
Finished example with user defined type_index, improved doocs and refactored some of the functions
This commit is contained in:
1 parent
b44845b46d
commit
7488e75a9c
7 files changed
+267
-127
No files matched your search
@@ -203,13 +203,34 @@ expands to nothing.
|
||||
[xinclude autodoc.xml]
|
||||
|
||||
[section Making own type_index]
|
||||
|
||||
Sometimes there may be a need to create your own type info system. This may be usefull if you wish to store some more info about types (PODness, size of a type, pointers to common functions...) or if you have an idea of a more compact types representations.
|
||||
|
||||
[import ../examples/user_defined_typeinfo.hpp]
|
||||
[import ../examples/user_defined_typeinfo.cpp]
|
||||
|
||||
[section Basics]
|
||||
[type_index_userdefined_usertypes]
|
||||
[type_index_userdefined_enum]
|
||||
[type_index_my_type_index]
|
||||
[type_index_my_type_index_usage]
|
||||
[endsect]
|
||||
|
||||
[section Getting type infos at runtime]
|
||||
[type_index_my_type_index_register_class]
|
||||
[type_index_my_type_index_type_id_runtime_implmentation]
|
||||
[type_index_my_type_index_type_id_runtime_classes]
|
||||
[type_index_my_type_index_type_id_runtime_test]
|
||||
[endsect]
|
||||
|
||||
[section Using new type infos all around the code]
|
||||
[type_index_my_type_index_worldwide_macro]
|
||||
[type_index_my_type_index_worldwide_typedefs]
|
||||
[type_index_my_type_index_worldwide_usage]
|
||||
[endsect]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
||||
[section Space and Performance]
|
||||
|
||||
|
||||
Reference in new issue
Block a user