\hypertarget{structkblib_1_1visitor}{}\doxysection{kblib\+::visitor\texorpdfstring{$<$}{<} Ts \texorpdfstring{$>$}{>} Struct Template Reference}
\label{structkblib_1_1visitor}\index{kblib::visitor$<$ Ts $>$@{kblib::visitor$<$ Ts $>$}}


Helper class for std\+::visiting a std\+::variant.  




{\ttfamily \#include $<$kblib/variant.\+h$>$}



Inheritance diagram for kblib\+::visitor\texorpdfstring{$<$}{<} Ts \texorpdfstring{$>$}{>}\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=190pt]{structkblib_1_1visitor__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for kblib\+::visitor\texorpdfstring{$<$}{<} Ts \texorpdfstring{$>$}{>}\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=190pt]{structkblib_1_1visitor__coll__graph}
\end{center}
\end{figure}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename... Ts$>$\newline
struct kblib\+::visitor$<$ Ts $>$}
Helper class for std\+::visiting a std\+::variant. 

When constructed from a set of lambdas or functors, corrals all of them into a single overload set, suitable for std\+::visit. 

Definition at line \mbox{\hyperlink{variant_8h_source_l00102}{102}} of file \mbox{\hyperlink{variant_8h_source}{variant.\+h}}.



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