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

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

#include <playrho/Matrix.hpp>

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

Detailed Description

template<typename>
struct playrho::detail::IsSquareMatrix< typename >

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

Trait class for determining whether the given type is a matrix having an equal number of rows and columns.

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

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