\hypertarget{structkblib_1_1detail_1_1bitfield__proxy}{}\section{kblib\+:\+:detail\+:\+:bitfield\+\_\+proxy$<$ Parent, ReturnT, Set, Get $>$ Struct Template Reference}
\label{structkblib_1_1detail_1_1bitfield__proxy}\index{kblib\+::detail\+::bitfield\+\_\+proxy$<$ Parent, Return\+T, Set, Get $>$@{kblib\+::detail\+::bitfield\+\_\+proxy$<$ Parent, Return\+T, Set, Get $>$}}


A proxy reference type for B\+I\+T\+F\+I\+E\+L\+D-\/declared bitfields.  




{\ttfamily \#include $<$bits.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
constexpr auto \hyperlink{structkblib_1_1detail_1_1bitfield__proxy_a77abd4d2df6fb47fa882cd0095822bb4}{operator=} (ReturnT val) noexcept -\/$>$ ReturnT
\item 
constexpr \hyperlink{structkblib_1_1detail_1_1bitfield__proxy_aaf22422480e033ea0a2795722f804678}{operator ReturnT} () const noexcept
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
Parent $\ast$ \hyperlink{structkblib_1_1detail_1_1bitfield__proxy_a583ccd4eeaf956833fd9d122d0c9008e}{p}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Parent, typename ReturnT, Return\+T(\+Parent\+::$\ast$)(\+Return\+T) noexcept Set, Return\+T(\+Parent\+::$\ast$)() const noexcept Get$>$\newline
struct kblib\+::detail\+::bitfield\+\_\+proxy$<$ Parent, Return\+T, Set, Get $>$}

A proxy reference type for B\+I\+T\+F\+I\+E\+L\+D-\/declared bitfields. 

It may be assigned to, or it may be used as a prvalue of type ReturnT. Unlike most proxy references, this is actually not that dissimilar to a language bitfield, which has only those capabilities. Like all other proxy references, it should not generally be bound to an auto variable. 

Definition at line 437 of file bits.\+h.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{structkblib_1_1detail_1_1bitfield__proxy_aaf22422480e033ea0a2795722f804678}\label{structkblib_1_1detail_1_1bitfield__proxy_aaf22422480e033ea0a2795722f804678}} 
\index{kblib\+::detail\+::bitfield\+\_\+proxy@{kblib\+::detail\+::bitfield\+\_\+proxy}!operator ReturnT@{operator ReturnT}}
\index{operator ReturnT@{operator ReturnT}!kblib\+::detail\+::bitfield\+\_\+proxy@{kblib\+::detail\+::bitfield\+\_\+proxy}}
\subsubsection{\texorpdfstring{operator Return\+T()}{operator ReturnT()}}
{\footnotesize\ttfamily template$<$typename Parent , typename ReturnT , Return\+T(\+Parent\+::$\ast$)(\+Return\+T) noexcept Set, Return\+T(\+Parent\+::$\ast$)() const noexcept Get$>$ \\
constexpr \hyperlink{structkblib_1_1detail_1_1bitfield__proxy}{kblib\+::detail\+::bitfield\+\_\+proxy}$<$ Parent, ReturnT, Set, Get $>$\+::operator ReturnT (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line 442 of file bits.\+h.

\mbox{\Hypertarget{structkblib_1_1detail_1_1bitfield__proxy_a77abd4d2df6fb47fa882cd0095822bb4}\label{structkblib_1_1detail_1_1bitfield__proxy_a77abd4d2df6fb47fa882cd0095822bb4}} 
\index{kblib\+::detail\+::bitfield\+\_\+proxy@{kblib\+::detail\+::bitfield\+\_\+proxy}!operator=@{operator=}}
\index{operator=@{operator=}!kblib\+::detail\+::bitfield\+\_\+proxy@{kblib\+::detail\+::bitfield\+\_\+proxy}}
\subsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily template$<$typename Parent , typename ReturnT , Return\+T(\+Parent\+::$\ast$)(\+Return\+T) noexcept Set, Return\+T(\+Parent\+::$\ast$)() const noexcept Get$>$ \\
constexpr auto \hyperlink{structkblib_1_1detail_1_1bitfield__proxy}{kblib\+::detail\+::bitfield\+\_\+proxy}$<$ Parent, ReturnT, Set, Get $>$\+::operator= (\begin{DoxyParamCaption}\item[{ReturnT}]{val }\end{DoxyParamCaption}) -\/$>$ ReturnT \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line 439 of file bits.\+h.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{structkblib_1_1detail_1_1bitfield__proxy_a583ccd4eeaf956833fd9d122d0c9008e}\label{structkblib_1_1detail_1_1bitfield__proxy_a583ccd4eeaf956833fd9d122d0c9008e}} 
\index{kblib\+::detail\+::bitfield\+\_\+proxy@{kblib\+::detail\+::bitfield\+\_\+proxy}!p@{p}}
\index{p@{p}!kblib\+::detail\+::bitfield\+\_\+proxy@{kblib\+::detail\+::bitfield\+\_\+proxy}}
\subsubsection{\texorpdfstring{p}{p}}
{\footnotesize\ttfamily template$<$typename Parent , typename ReturnT , Return\+T(\+Parent\+::$\ast$)(\+Return\+T) noexcept Set, Return\+T(\+Parent\+::$\ast$)() const noexcept Get$>$ \\
Parent$\ast$ \hyperlink{structkblib_1_1detail_1_1bitfield__proxy}{kblib\+::detail\+::bitfield\+\_\+proxy}$<$ Parent, ReturnT, Set, Get $>$\+::p}



Definition at line 438 of file bits.\+h.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
kblib/\hyperlink{bits_8h}{bits.\+h}\end{DoxyCompactItemize}
