PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::IsMatrix< typename > Struct Template Reference

Trait class for checking if type is a matrix type. More...

#include <Matrix.hpp>

Inheritance diagram for playrho::IsMatrix< typename >:
[legend]
Collaboration diagram for playrho::IsMatrix< typename >:
[legend]

Detailed Description

template<typename>
struct playrho::IsMatrix< typename >

Trait class for checking if type is a matrix type.

Trait class for determining whether the given type is a matrix, that is, a vector of vectors.

Note
This implements the default case where any arbitrary type is not a matrix.
For example the following is false:
IsMatrix<int>::value || IsMatrix<float>::value
See also
Matrix, IsSquareMatrix, IsVector

The documentation for this struct was generated from the following file: