\hypertarget{struct_k_b_l_i_b___n_s_1_1clone__copy}{}\doxysection{KBLIB\+\_\+\+NS\+::clone\+\_\+copy\texorpdfstring{$<$}{<} Obj \texorpdfstring{$>$}{>} Struct Template Reference} \label{struct_k_b_l_i_b___n_s_1_1clone__copy}\index{KBLIB\_NS::clone\_copy$<$ Obj $>$@{KBLIB\_NS::clone\_copy$<$ Obj $>$}} Implements copy construction using a virtual clone method. This type is provided mostly as an example. {\ttfamily \#include $<$kblib/poly\+\_\+obj.\+h$>$} \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1clone__copy_ab35424e63343c223064de5884d5439e0}{clone\+\_\+copy}} ()=default \begin{DoxyCompactList}\small\item\em Does nothing. \end{DoxyCompactList}\item {\footnotesize template$<$typename T $>$ }\\\mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1clone__copy_a7832f3d33ccff94337933866d2695299}{clone\+\_\+copy}} (T $\ast$) \begin{DoxyCompactList}\small\item\em Does nothing. \end{DoxyCompactList}\item auto \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1clone__copy_a6cb2786f076f8b325b419ef34bebe618}{copy}} (void $\ast$dest, const Obj $\ast$from) -\/$>$ Obj $\ast$ \begin{DoxyCompactList}\small\item\em Invokes the clone method to copy the object. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection{Detailed Description} \subsubsection*{template$<$typename Obj$>$\newline struct KBLIB\+\_\+\+NS\+::clone\+\_\+copy$<$ Obj $>$} Implements copy construction using a virtual clone method. This type is provided mostly as an example. Definition at line \mbox{\hyperlink{poly__obj_8h_source_l00291}{291}} of file \mbox{\hyperlink{poly__obj_8h_source}{poly\+\_\+obj.\+h}}. \doxysubsection{Constructor \& Destructor Documentation} \mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1clone__copy_ab35424e63343c223064de5884d5439e0}\label{struct_k_b_l_i_b___n_s_1_1clone__copy_ab35424e63343c223064de5884d5439e0}} \index{KBLIB\_NS::clone\_copy$<$ Obj $>$@{KBLIB\_NS::clone\_copy$<$ Obj $>$}!clone\_copy@{clone\_copy}} \index{clone\_copy@{clone\_copy}!KBLIB\_NS::clone\_copy$<$ Obj $>$@{KBLIB\_NS::clone\_copy$<$ Obj $>$}} \doxysubsubsection{\texorpdfstring{clone\_copy()}{clone\_copy()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} {\footnotesize\ttfamily template$<$typename Obj $>$ \\ \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1clone__copy}{KBLIB\+\_\+\+NS\+::clone\+\_\+copy}}$<$ Obj $>$\+::clone\+\_\+copy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [default]}} Does nothing. \mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1clone__copy_a7832f3d33ccff94337933866d2695299}\label{struct_k_b_l_i_b___n_s_1_1clone__copy_a7832f3d33ccff94337933866d2695299}} \index{KBLIB\_NS::clone\_copy$<$ Obj $>$@{KBLIB\_NS::clone\_copy$<$ Obj $>$}!clone\_copy@{clone\_copy}} \index{clone\_copy@{clone\_copy}!KBLIB\_NS::clone\_copy$<$ Obj $>$@{KBLIB\_NS::clone\_copy$<$ Obj $>$}} \doxysubsubsection{\texorpdfstring{clone\_copy()}{clone\_copy()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} {\footnotesize\ttfamily template$<$typename Obj $>$ \\ template$<$typename T $>$ \\ \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1clone__copy}{KBLIB\+\_\+\+NS\+::clone\+\_\+copy}}$<$ Obj $>$\+::clone\+\_\+copy (\begin{DoxyParamCaption}\item[{T $\ast$}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} Does nothing. Definition at line \mbox{\hyperlink{poly__obj_8h_source_l00296}{296}} of file \mbox{\hyperlink{poly__obj_8h_source}{poly\+\_\+obj.\+h}}. \doxysubsection{Member Function Documentation} \mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1clone__copy_a6cb2786f076f8b325b419ef34bebe618}\label{struct_k_b_l_i_b___n_s_1_1clone__copy_a6cb2786f076f8b325b419ef34bebe618}} \index{KBLIB\_NS::clone\_copy$<$ Obj $>$@{KBLIB\_NS::clone\_copy$<$ Obj $>$}!copy@{copy}} \index{copy@{copy}!KBLIB\_NS::clone\_copy$<$ Obj $>$@{KBLIB\_NS::clone\_copy$<$ Obj $>$}} \doxysubsubsection{\texorpdfstring{copy()}{copy()}} {\footnotesize\ttfamily template$<$typename Obj $>$ \\ auto \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1clone__copy}{KBLIB\+\_\+\+NS\+::clone\+\_\+copy}}$<$ Obj $>$\+::copy (\begin{DoxyParamCaption}\item[{void $\ast$}]{dest, }\item[{const Obj $\ast$}]{from }\end{DoxyParamCaption}) -\/$>$ Obj$\ast$ \hspace{0.3cm}{\ttfamily [inline]}} Invokes the clone method to copy the object. Definition at line \mbox{\hyperlink{poly__obj_8h_source_l00299}{299}} of file \mbox{\hyperlink{poly__obj_8h_source}{poly\+\_\+obj.\+h}}. The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item kblib/\mbox{\hyperlink{poly__obj_8h}{poly\+\_\+obj.\+h}}\end{DoxyCompactItemize}