From 63d288636fe721fd2b42ad9dc95cca6d38e27809 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 14 Sep 2020 08:34:45 +0200 Subject: [PATCH] docs: downcasting documentation added --- docs/CMakeLists.txt | 1 + docs/reference/core.rst | 1 + docs/reference/core/downcasting.rst | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 docs/reference/core/downcasting.rst diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index f6642eae..20830149 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -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" diff --git a/docs/reference/core.rst b/docs/reference/core.rst index 5cb6a914..4782d442 100644 --- a/docs/reference/core.rst +++ b/docs/reference/core.rst @@ -9,3 +9,4 @@ Core Library core/functions core/metafunctions core/customization_points + core/downcasting diff --git a/docs/reference/core/downcasting.rst b/docs/reference/core/downcasting.rst new file mode 100644 index 00000000..a3e909a9 --- /dev/null +++ b/docs/reference/core/downcasting.rst @@ -0,0 +1,18 @@ +The Downcasting Facility +======================== + +.. concept:: template Downcastable + +.. doxygenstruct:: units::downcast_base + :members: + +.. doxygenstruct:: units::downcast_child + :members: + +.. doxygenstruct:: units::downcast_poison + :members: + +.. doxygenstruct:: units::downcast_dispatch + :members: + +.. doxygentypedef:: units::downcast