\hypertarget{classkdb_1_1Discriminator}{\section{kdb\-:\-:Discriminator$<$ Base, D $>$ Class Template Reference}
\label{classkdb_1_1Discriminator}\index{kdb\-::\-Discriminator$<$ Base, D $>$@{kdb\-::\-Discriminator$<$ Base, D $>$}}
}


{\ttfamily \#include $<$contextual.\-hpp$>$}



Inherits Base.



\subsection{Detailed Description}
\subsubsection*{template$<$typename Base, int D$>$class kdb\-::\-Discriminator$<$ Base, D $>$}

This technique with the Policy\-Selector and \hyperlink{classkdb_1_1Discriminator}{Discriminator} is taken from the book \char`\"{}\-C++ Templates -\/ The Complete Guide\char`\"{} by David Vandevoorde and Nicolai M. Josuttis, Addison-\/\-Wesley, 2002

The technique allows users of the class \hyperlink{classkdb_1_1Context}{Context} to use any number and order of policies as desired. 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
contextual.\-hpp\end{DoxyCompactItemize}
