Rcpp Version 0.12.14
Rcpp::algorithm::helpers::decays_to_ctype< T > Struct Template Reference

#include <algorithm.h>

Static Public Member Functions

static CTYPE_CHAR test (const char &)
 
static CTYPE_SHORT test (const short &)
 
static CTYPE_INT test (const int &)
 
static CTYPE_LONG test (const long &)
 
static CTYPE_FLOAT test (const float &)
 
static CTYPE_DOUBLE test (const double &)
 
static CTYPE_LONG_DOUBLE test (const long double &)
 
static CTYPE_STRING test (const std::string &)
 
static CTYPE_UNSIGNED_CHAR test (const unsigned char &)
 
static CTYPE_UNSIGNED_SHORT test (const unsigned short &)
 
static CTYPE_UNSIGNED_INT test (const unsigned int &)
 
static CTYPE_UNSIGNED_LONG test (const unsigned long &)
 
static CTYPE_UNKNOWN test (...)
 
static T make ()
 

Static Public Attributes

static const bool value = ctype_helper< sizeof(test(make())) >::value
 

Detailed Description

template<typename T>
struct Rcpp::algorithm::helpers::decays_to_ctype< T >

Definition at line 136 of file algorithm.h.

Member Function Documentation

◆ make()

template<typename T >
static T Rcpp::algorithm::helpers::decays_to_ctype< T >::make ( )
static

◆ test() [1/13]

template<typename T >
static CTYPE_CHAR Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const char &  )
static

◆ test() [2/13]

template<typename T >
static CTYPE_SHORT Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const short &  )
static

◆ test() [3/13]

template<typename T >
static CTYPE_INT Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const int &  )
static

◆ test() [4/13]

template<typename T >
static CTYPE_LONG Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const long &  )
static

◆ test() [5/13]

template<typename T >
static CTYPE_FLOAT Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const float &  )
static

◆ test() [6/13]

template<typename T >
static CTYPE_DOUBLE Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const double &  )
static

◆ test() [7/13]

template<typename T >
static CTYPE_LONG_DOUBLE Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const long double &  )
static

◆ test() [8/13]

template<typename T >
static CTYPE_STRING Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const std::string &  )
static

◆ test() [9/13]

template<typename T >
static CTYPE_UNSIGNED_CHAR Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const unsigned char &  )
static

◆ test() [10/13]

template<typename T >
static CTYPE_UNSIGNED_SHORT Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const unsigned short &  )
static

◆ test() [11/13]

template<typename T >
static CTYPE_UNSIGNED_INT Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const unsigned int &  )
static

◆ test() [12/13]

template<typename T >
static CTYPE_UNSIGNED_LONG Rcpp::algorithm::helpers::decays_to_ctype< T >::test ( const unsigned long &  )
static

◆ test() [13/13]

template<typename T >
static CTYPE_UNKNOWN Rcpp::algorithm::helpers::decays_to_ctype< T >::test (   ...)
static

Member Data Documentation

◆ value

template<typename T >
const bool Rcpp::algorithm::helpers::decays_to_ctype< T >::value = ctype_helper< sizeof(test(make())) >::value
static

Definition at line 160 of file algorithm.h.


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