Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::Min< RTYPE, NA, T > Class Template Reference

#include <min.h>

Public Types

typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE

Public Member Functions

 Min (const T &obj_)
 operator STORAGE () const

Public Attributes

const T & obj

Detailed Description

template<int RTYPE, bool NA, typename T>
class Rcpp::sugar::Min< RTYPE, NA, T >

Definition at line 29 of file min.h.

Member Typedef Documentation

◆ STORAGE

template<int RTYPE, bool NA, typename T>
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Min< RTYPE, NA, T >::STORAGE

Definition at line 31 of file min.h.

Constructor & Destructor Documentation

◆ Min()

template<int RTYPE, bool NA, typename T>
Rcpp::sugar::Min< RTYPE, NA, T >::Min ( const T & obj_)
inline

Definition at line 33 of file min.h.

References obj.

Member Function Documentation

◆ operator STORAGE()

template<int RTYPE, bool NA, typename T>
Rcpp::sugar::Min< RTYPE, NA, T >::operator STORAGE ( ) const
inline

Definition at line 35 of file min.h.

References Rcpp::traits::is_na(), Rcpp::min(), obj, and Rcpp::stop().

Here is the call graph for this function:

Member Data Documentation

◆ obj

template<int RTYPE, bool NA, typename T>
const T& Rcpp::sugar::Min< RTYPE, NA, T >::obj

Definition at line 55 of file min.h.

Referenced by Min(), and operator STORAGE().


The documentation for this class was generated from the following file:
  • inst/include/Rcpp/sugar/functions/min.h