OpenShaderDesigner/Documentation/latex/struct_constant_value.tex

52 lines
1.8 KiB
TeX

\doxysection{Constant\+Value\texorpdfstring{$<$}{<} T, V \texorpdfstring{$>$}{>} Struct Template Reference}
\hypertarget{struct_constant_value}{}\label{struct_constant_value}\index{ConstantValue$<$ T, V $>$@{ConstantValue$<$ T, V $>$}}
Compile-\/time constant value.
{\ttfamily \#include $<$Template\+Utils.\+h$>$}
\doxysubsubsection*{Public Types}
\begin{DoxyCompactItemize}
\item
\Hypertarget{struct_constant_value_a7179481e63466b2ab97e60faf59b9a26}\label{struct_constant_value_a7179481e63466b2ab97e60faf59b9a26}
using {\bfseries Type} = T
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\Hypertarget{struct_constant_value_a0054b1acc3ea91bc11866fc767c5fcf3}\label{struct_constant_value_a0054b1acc3ea91bc11866fc767c5fcf3}
constexpr {\bfseries operator Type} () const noexcept
\item
\Hypertarget{struct_constant_value_a1e0d9f37538503106899b129bbc57ec5}\label{struct_constant_value_a1e0d9f37538503106899b129bbc57ec5}
constexpr Type {\bfseries operator()} () const
\end{DoxyCompactItemize}
\doxysubsubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item
\Hypertarget{struct_constant_value_ac0a9784a2671a08e1babcd477f2e78fd}\label{struct_constant_value_ac0a9784a2671a08e1babcd477f2e78fd}
static constexpr Type {\bfseries Value} = V
\end{DoxyCompactItemize}
\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename T, T V$>$\newline
struct Constant\+Value$<$ T, V $>$}
Compile-\/time constant value.
\begin{DoxyTemplParams}{Template Parameters}
{\em T} & Type \\
\hline
{\em V} & Value \\
\hline
\end{DoxyTemplParams}
The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item
Include/\+Utility/\mbox{\hyperlink{_template_utils_8h}{Template\+Utils.\+h}}\end{DoxyCompactItemize}