| 531 | |
| 532 | template <typename T> |
| 533 | inline SEXP wrap_dispatch_unknown_iterable__logical(const T& object, ::Rcpp::traits::true_type) { |
| 534 | RCPP_DEBUG_1("wrap_dispatch_unknown_iterable__logical<%s>(., true )", DEMANGLE(T)) |
| 535 | size_t size = object.size(); |
| 536 | Shield<SEXP> x(Rf_allocVector(LGLSXP, size)); |
| 537 | std::copy(object.begin(), object.end(), LOGICAL(x)); |
| 538 | return x; |
| 539 | } |
| 540 | |
| 541 | template <typename T> |
| 542 | inline SEXP wrap_range_sugar_expression(const T& object, Rcpp::traits::false_type) { |
no test coverage detected