PlayRho  2.0.0
An interactive physics engine & library.
playrho::detail::IsMatrix< typename > Struct Template Reference

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

#include <playrho/Matrix.hpp>

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

Detailed Description

template<typename>
struct playrho::detail::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, IsVectorV

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