18 lines
1.1 KiB
TeX
18 lines
1.1 KiB
TeX
|
|
\doxysection{@104051022023260372251021217357261053015367015144\+::Constant\+Law Concept Reference}
|
||
|
|
\hypertarget{concept_0d104051022023260372251021217357261053015367015144_1_1_constant_law}{}\label{concept_0d104051022023260372251021217357261053015367015144_1_1_constant_law}\index{"@104051022023260372251021217357261053015367015144::ConstantLaw@{"@104051022023260372251021217357261053015367015144::ConstantLaw}}
|
||
|
|
|
||
|
|
|
||
|
|
Laws must preserve physical units and callable signatures.
|
||
|
|
|
||
|
|
|
||
|
|
\doxysubsection{Concept definition}
|
||
|
|
|
||
|
|
\begin{DoxyCode}{0}
|
||
|
|
\DoxyCodeLine{\textcolor{keyword}{template}<\textcolor{keyword}{typename}\ Function>}
|
||
|
|
\DoxyCodeLine{\textcolor{keyword}{concept\ }@104051022023260372251021217357261053015367015144::\mbox{\hyperlink{concept_0d104051022023260372251021217357261053015367015144_1_1_constant_law}{ConstantLaw}}\ =\ \ \textcolor{keyword}{requires}(Function\ function)\ \{\ family::law(Constant\{\},\ family::depends\_on(Index\{\}),\ std::move(function));\ \}}
|
||
|
|
|
||
|
|
\end{DoxyCode}
|
||
|
|
|
||
|
|
|
||
|
|
\doxysubsection{Detailed Description}
|
||
|
|
Laws must preserve physical units and callable signatures.
|