Main MRPT website > C++ reference
MRPT logo
mrpt::math::detail::MatrixWrapper< U, B > Singleton Reference

Detailed Description

template<typename U, bool B>
singleton mrpt::math::detail::MatrixWrapper< U, B >

This template is a trick to switch the type of a variable using a boolean variable in the template.

It's easy to extend its functionality to several types, using a unsigned char instead of a bool.

Definition at line 29 of file matrix_adaptors.h.

#include <mrpt/math/matrix_adaptors.h>

Inheritance diagram for mrpt::math::detail::MatrixWrapper< U, B >:
Inheritance graph
[legend]



Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014