Elektra  0.8.14
kdb::Discriminator< Base, D > Class Template Reference

This technique with the PolicySelector and Discriminator is taken from the book "C++ Templates - The Complete Guide" by David Vandevoorde and Nicolai M. More...

#include <kdbvalue.hpp>

Inherits Base.

Detailed Description

template<typename Base, int D>
class kdb::Discriminator< Base, D >

This technique with the PolicySelector and Discriminator is taken from the book "C++ Templates - The Complete Guide" 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: