nndeploy C++ API  0.2.0
nndeploy C++ API
Namespaces | Functions
saturate_cast.h File Reference
#include "nndeploy/base/glic_stl_include.h"
Include dependency graph for saturate_cast.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 nndeploy
 
 nndeploy::base
 

Functions

template<>
int nndeploy::base::saturate_cast< int > (double v)
 
template<>
int nndeploy::base::saturate_cast< int > (float v)
 
template<>
int nndeploy::base::saturate_cast< int > (int64_t v)
 
template<>
int nndeploy::base::saturate_cast< int > (uint64_t v)
 
template<>
int nndeploy::base::saturate_cast< int > (unsigned v)
 
template<>
int64_t nndeploy::base::saturate_cast< int64_t > (uint64_t v)
 
template<>
short nndeploy::base::saturate_cast< short > (double v)
 
template<>
short nndeploy::base::saturate_cast< short > (float v)
 
template<>
short nndeploy::base::saturate_cast< short > (int v)
 
template<>
short nndeploy::base::saturate_cast< short > (int64_t v)
 
template<>
short nndeploy::base::saturate_cast< short > (uint64_t v)
 
template<>
short nndeploy::base::saturate_cast< short > (unsigned short v)
 
template<>
short nndeploy::base::saturate_cast< short > (unsigned v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (double v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (float v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (int v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (int64_t v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (short v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (uint64_t v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (unsigned char v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (unsigned short v)
 
template<>
signed char nndeploy::base::saturate_cast< signed char > (unsigned v)
 
template<>
uint64_t nndeploy::base::saturate_cast< uint64_t > (int v)
 
template<>
uint64_t nndeploy::base::saturate_cast< uint64_t > (int64_t v)
 
template<>
uint64_t nndeploy::base::saturate_cast< uint64_t > (short v)
 
template<>
uint64_t nndeploy::base::saturate_cast< uint64_t > (signed char v)
 
template<>
unsigned nndeploy::base::saturate_cast< unsigned > (double v)
 
template<>
unsigned nndeploy::base::saturate_cast< unsigned > (float v)
 
template<>
unsigned nndeploy::base::saturate_cast< unsigned > (int v)
 
template<>
unsigned nndeploy::base::saturate_cast< unsigned > (int64_t v)
 
template<>
unsigned nndeploy::base::saturate_cast< unsigned > (short v)
 
template<>
unsigned nndeploy::base::saturate_cast< unsigned > (signed char v)
 
template<>
unsigned nndeploy::base::saturate_cast< unsigned > (uint64_t v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (double v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (float v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (int v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (int64_t v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (short v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (signed char v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (uint64_t v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (unsigned short v)
 
template<>
unsigned char nndeploy::base::saturate_cast< unsigned char > (unsigned v)
 
template<>
unsigned short nndeploy::base::saturate_cast< unsigned short > (double v)
 
template<>
unsigned short nndeploy::base::saturate_cast< unsigned short > (float v)
 
template<>
unsigned short nndeploy::base::saturate_cast< unsigned short > (int v)
 
template<>
unsigned short nndeploy::base::saturate_cast< unsigned short > (int64_t v)
 
template<>
unsigned short nndeploy::base::saturate_cast< unsigned short > (short v)
 
template<>
unsigned short nndeploy::base::saturate_cast< unsigned short > (signed char v)
 
template<>
unsigned short nndeploy::base::saturate_cast< unsigned short > (uint64_t v)
 
template<>
unsigned short nndeploy::base::saturate_cast< unsigned short > (unsigned v)