docs: downcasting documentation added

This commit is contained in:
Mateusz Pusz committed 2020-09-14 08:37:46 +02:00
1 parent 92c575cb1d
commit 63d288636f
3 files changed
+20

No files matched your search

+1
View File
@@ -119,6 +119,7 @@ add_custom_command(OUTPUT "${SPHINX_INDEX_FILE}"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/concepts.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/customization_points.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/downcasting.rst"
# "${CMAKE_CURRENT_SOURCE_DIR}/reference/core/functions.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/metafunctions.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/types.rst"
+1
View File
@@ -9,3 +9,4 @@ Core Library
core/functions
core/metafunctions
core/customization_points
core/downcasting
+18
View File
@@ -0,0 +1,18 @@
The Downcasting Facility
========================
.. concept:: template<typename T> Downcastable
.. doxygenstruct:: units::downcast_base
:members:
.. doxygenstruct:: units::downcast_child
:members:
.. doxygenstruct:: units::downcast_poison
:members:
.. doxygenstruct:: units::downcast_dispatch
:members:
.. doxygentypedef:: units::downcast