"Discriminator" for named template arguments.
More...
#include <playrho/d2/part/Compositor.hpp>
template<class Base, int D>
struct playrho::d2::part::Discriminator< Base, D >
"Discriminator" for named template arguments.
- Note
- "[This allows] the various setter types to be identical. (You cannot have multiple direct base classes of the same type. Indirect base classes, on the other hand, can have types that are identical to those of other bases.)"
-
This class is not intended for standalone use.
- Template Parameters
-
Base | Class to derive from - as a "mixin". |
D | Unique index of the discriminator within a derived class that can then possibly inherit from multiple discriminators. |
- See also
- https://flylib.com/books/en/3.401.1.126/1/
The documentation for this struct was generated from the following file:
- Library/include/playrho/d2/part/Compositor.hpp