isnt_same_type< T1, T2 > Struct Template Reference
[Traits]

#include <traits.hpp>

List of all members.

Static Public Member Functions

static void check ()

Static Public Attributes

static const bool value = true


Detailed Description

template<typename T1, typename T2>
struct isnt_same_type< T1, T2 >

Definition at line 177 of file traits.hpp.


Member Function Documentation

template<typename T1 , typename T2 >
static void isnt_same_type< T1, T2 >::check (  )  [inline, static]

Definition at line 181 of file traits.hpp.

Referenced by accu(), norm(), and trace().

00182     {
00183     arma_static_assert<false> ERROR___TYPE_MISMATCH;
00184     ERROR___TYPE_MISMATCH = ERROR___TYPE_MISMATCH;
00185     }


Member Data Documentation

template<typename T1 , typename T2 >
const bool isnt_same_type< T1, T2 >::value = true [static]

Definition at line 179 of file traits.hpp.