\hypertarget{struct_k_b_l_i_b___n_s_1_1visitor}{}\doxysection{KBLIB\+\_\+\+NS\+::visitor\texorpdfstring{$<$}{<} Ts \texorpdfstring{$>$}{>} Struct Template Reference} \label{struct_k_b_l_i_b___n_s_1_1visitor}\index{KBLIB\_NS::visitor$<$ Ts $>$@{KBLIB\_NS::visitor$<$ Ts $>$}} Helper class for std\+::visiting a std\+::variant. {\ttfamily \#include $<$kblib/variant.\+h$>$} Inheritance diagram for KBLIB\+\_\+\+NS\+::visitor\texorpdfstring{$<$}{<} Ts \texorpdfstring{$>$}{>}\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=213pt]{struct_k_b_l_i_b___n_s_1_1visitor__inherit__graph} \end{center} \end{figure} Collaboration diagram for KBLIB\+\_\+\+NS\+::visitor\texorpdfstring{$<$}{<} Ts \texorpdfstring{$>$}{>}\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=213pt]{struct_k_b_l_i_b___n_s_1_1visitor__coll__graph} \end{center} \end{figure} \doxysubsection{Detailed Description} \subsubsection*{template$<$typename... Ts$>$\newline struct KBLIB\+\_\+\+NS\+::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}