CMS 3D CMS Logo

Classes | Functions
mayown_ptr.h File Reference
#include <cassert>
#include <cstring>

Go to the source code of this file.

Classes

class  mayown_ptr< T, N >
 

Functions

template<typename T >
bool operator< (mayown_ptr< T > const &rh, mayown_ptr< T > const &lh)
 
template<typename T >
bool operator== (mayown_ptr< T > const &rh, mayown_ptr< T > const &lh)
 

Function Documentation

◆ operator<()

template<typename T >
bool operator< ( mayown_ptr< T > const &  rh,
mayown_ptr< T > const &  lh 
)

Definition at line 95 of file mayown_ptr.h.

References mathSSE::lh.

95  {
96  return rh.raw() < lh.raw();
97 }
bool int lh
Definition: SIMDVec.h:20
T const * raw() const
Definition: mayown_ptr.h:87

◆ operator==()

template<typename T >
bool operator== ( mayown_ptr< T > const &  rh,
mayown_ptr< T > const &  lh 
)

Definition at line 91 of file mayown_ptr.h.

References mathSSE::lh, and mayown_ptr< T, N >::raw().

91  {
92  return rh.raw() == lh.raw();
93 }
bool int lh
Definition: SIMDVec.h:20
T const * raw() const
Definition: mayown_ptr.h:87