Note for now much of the docs is LLM written. This was done to save time and focus on code development. The docs have been LOOSLEY reviewed. However, the code itself has been either fully written by hand or fully reviewed. Therefore, the docs should at the moment be seen as a loose resource rather than authoratiative (and this is on top of the general ability for docs to drift)
54 lines
3.8 KiB
TeX
54 lines
3.8 KiB
TeX
\doxysection{src/include/serif/utils/dependencies/detail/result.hpp File Reference}
|
|
\hypertarget{utils_2dependencies_2detail_2result_8hpp}{}\label{utils_2dependencies_2detail_2result_8hpp}\index{src/include/serif/utils/dependencies/detail/result.hpp@{src/include/serif/utils/dependencies/detail/result.hpp}}
|
|
{\ttfamily \#include $<$concepts$>$}\newline
|
|
{\ttfamily \#include $<$expected$>$}\newline
|
|
{\ttfamily \#include $<$memory$>$}\newline
|
|
{\ttfamily \#include $<$type\+\_\+traits$>$}\newline
|
|
{\ttfamily \#include $<$utility$>$}\newline
|
|
{\ttfamily \#include "{}serif/utils/types/type\+\_\+list.\+hpp"{}}\newline
|
|
Include dependency graph for result.\+hpp\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{utils_2dependencies_2detail_2result_8hpp__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
This graph shows which files directly or indirectly include this file\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{utils_2dependencies_2detail_2result_8hpp__dep__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsubsection*{Classes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
struct \mbox{\hyperlink{structserif_1_1utils_1_1dependencies_1_1detail_1_1_result}{serif\+::utils\+::dependencies\+::detail\+::\+Result$<$ T $>$}}
|
|
\begin{DoxyCompactList}\small\item\em Computations publish owned, movable values, either directly or through std\+::expected. \end{DoxyCompactList}\item
|
|
struct \mbox{\hyperlink{structserif_1_1utils_1_1dependencies_1_1detail_1_1_result_3_01std_1_1expected_3_01_value_t_00_01_error_t_01_4_01_4}{serif\+::utils\+::dependencies\+::detail\+::\+Result$<$ std\+::expected$<$ Value\+T, Error\+T $>$ $>$}}
|
|
\item
|
|
struct \mbox{\hyperlink{structserif_1_1utils_1_1dependencies_1_1detail_1_1_invocation}{serif\+::utils\+::dependencies\+::detail\+::\+Invocation$<$ Computation\+T, Arguments\+T, typename $>$}}
|
|
\begin{DoxyCompactList}\small\item\em Ill-\/formed calls fail the graph concept instead of producing a hard instantiation error. \end{DoxyCompactList}\item
|
|
struct \mbox{\hyperlink{structserif_1_1utils_1_1dependencies_1_1detail_1_1_invocation_3_01_computation_t_00_01types_1_1_28b703f0a48eef89c64214fa1ebcb8e5}{serif\+::utils\+::dependencies\+::detail\+::\+Invocation$<$ Computation\+T, types\+::\+Type\+List$<$ Arguments... $>$, std\+::void\+\_\+t$<$ Invocation\+Result$<$ Computation\+T, Arguments... $>$ $>$ $>$}}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsubsection*{Namespaces}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
namespace \mbox{\hyperlink{namespaceserif}{serif}}
|
|
\item
|
|
namespace \mbox{\hyperlink{namespaceserif_1_1utils}{serif\+::utils}}
|
|
\item
|
|
namespace \mbox{\hyperlink{namespaceserif_1_1utils_1_1dependencies}{serif\+::utils\+::dependencies}}
|
|
\item
|
|
namespace \mbox{\hyperlink{namespaceserif_1_1utils_1_1dependencies_1_1detail}{serif\+::utils\+::dependencies\+::detail}}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsubsection*{Typedefs}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
{\footnotesize template$<$typename ComputationT, typename TargetT$>$ }\\using \mbox{\hyperlink{namespaceserif_1_1utils_1_1dependencies_1_1detail_a2a777947f8f13e355464e542c4c744e3}{serif\+::utils\+::dependencies\+::detail\+::\+Computation\+Argument}} = std\+::conditional\+\_\+t$<$Computation\+T\+::owns\+\_\+inputs, std\+::shared\+\_\+ptr$<$const TargetT$>$, TargetT$>$
|
|
\begin{DoxyCompactList}\small\item\em Owning computations receive the cache handle; ordinary computations receive the value. \end{DoxyCompactList}\item
|
|
{\footnotesize template$<$typename ComputationT, typename... Arguments$>$ }\\using \mbox{\hyperlink{namespaceserif_1_1utils_1_1dependencies_1_1detail_ac0c5d96cef52074f39d5829656587085}{serif\+::utils\+::dependencies\+::detail\+::\+Invocation\+Result}}
|
|
\begin{DoxyCompactList}\small\item\em Match the const argument access used by the runtime cache without constructing any values. \end{DoxyCompactList}\end{DoxyCompactItemize}
|