33 template<
typename Shape>
44 for (
int i = 0; i < dim; ++i) {
45 m_shape.m_elem[i] = 0;
47 m_shape.m_valid =
true;
A fake class which documents the generic parts of the WFMath interface.
Utility class for providing zero primitives. This class will only work with simple structures such as...
const Shape & getShape() const
Gets the zeroed shape.
ZeroPrimitive(int dim)
Ctor. An instance of Shape with zero values will be created at construction time.
Generic library namespace.