Skip to content

Commit 4089600

Browse files
less SFINAE noise on solaris
1 parent 4c26bea commit 4089600

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

inst/include/Rcpp/platform/solaris.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,29 @@ namespace traits{
3030

3131
template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T >
3232
struct is_convertible< sugar::Plus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >, SEXP> : public false_type{} ;
33+
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{} ;
36+
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{} ;
39+
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{} ;
42+
43+
template <
44+
int RTYPE,
45+
bool COND_NA, typename COND_T,
46+
bool RHS_NA , typename RHS_T
47+
>
48+
struct is_convertible< sugar::IfElse_Primitive_Vector<RTYPE,COND_NA,COND_T,RHS_NA,RHS_T> , SEXP > : public false_type{} ;
49+
50+
template <
51+
int RTYPE,
52+
bool COND_NA, typename COND_T
53+
>
54+
struct is_convertible< sugar::IfElse_Primitive_Primitive<RTYPE,COND_NA,COND_T>, SEXP > : public false_type{} ;
55+
3356
#endif
3457

3558
template <int RTYPE>

0 commit comments

Comments
 (0)