3 #ifndef Rcpp__platform__solaris_h
4 #define Rcpp__platform__solaris_h
11 template <
typename T>
struct is_convertible<
std::list<T>, SEXP> :
public false_type{} ;
12 template <
typename T>
struct is_convertible<
std::set<T>, SEXP> :
public false_type{} ;
13 template <
typename T>
struct is_convertible<
std::vector<T>, SEXP> :
public false_type{} ;
14 template <
typename T>
struct is_convertible<
std::deque<T>, SEXP> :
public false_type{} ;
16 template <
typename KEY,
typename VALUE>
17 struct is_convertible<
std::map<KEY,VALUE>, SEXP> :
public false_type{} ;
19 template <
typename KEY,
typename VALUE>
20 struct is_convertible<
std::multimap<KEY,VALUE>, SEXP> :
public false_type{} ;
22 template <>
struct is_convertible<Range,SEXP> :
public false_type{} ;
24 #if !defined(RCPP_NO_SUGAR)
25 template <
int RTYPE,
bool NA,
typename T>
26 struct is_convertible< sugar::Minus_Vector_Primitive< RTYPE, NA, T >, SEXP> :
public false_type{} ;
28 template <
int RTYPE,
bool NA,
typename T>
29 struct is_convertible< sugar::Plus_Vector_Primitive< RTYPE, NA, T >, SEXP> :
public false_type{} ;
31 template <
int RTYPE,
bool LHS_NA,
typename LHS_T,
bool RHS_NA,
typename RHS_T >
32 struct is_convertible< sugar::Plus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >, SEXP> :
public false_type{} ;
34 template <
int RTYPE,
bool LHS_NA,
typename LHS_T,
bool RHS_NA,
typename RHS_T >
35 struct is_convertible< sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >, SEXP> :
public false_type{} ;
37 template <
int RTYPE,
bool LHS_NA,
typename LHS_T,
bool RHS_NA,
typename RHS_T >
38 struct is_convertible< sugar::Times_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >, SEXP> :
public false_type{} ;
40 template <
int RTYPE,
bool LHS_NA,
typename LHS_T,
bool RHS_NA,
typename RHS_T >
41 struct is_convertible< sugar::Divides_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >, SEXP> :
public false_type{} ;
45 bool COND_NA,
typename COND_T,
46 bool RHS_NA ,
typename RHS_T
48 struct is_convertible< sugar::IfElse_Primitive_Vector<RTYPE,COND_NA,COND_T,RHS_NA,RHS_T> , SEXP > :
public false_type{} ;
52 bool COND_NA,
typename COND_T
54 struct is_convertible< sugar::IfElse_Primitive_Primitive<RTYPE,COND_NA,COND_T>, SEXP > :
public false_type{} ;
59 struct is_convertible< MatrixRow<RTYPE>, SEXP> :
public false_type{} ;
62 struct is_convertible< MatrixColumn<RTYPE>, SEXP> :
public false_type{} ;
integral_constant< bool, false > false_type