\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 $>$}}
}


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.  




{\ttfamily \#include $<$kdbvalue.\-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 in Chapter 16 Templates and Inheritance\-: Named Template Arguments

The technique allows users of the class Value to use any number and order of policies as desired. 

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