We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f047f52 commit 4309b1dCopy full SHA for 4309b1d
inst/include/Rcpp/RObject.h
@@ -46,7 +46,8 @@ namespace Rcpp{
46
/**
47
* Assignement operator. Set this SEXP to the given SEXP
48
*/
49
- RObject_Impl& operator=( SEXP other ){
+ template <typename T>
50
+ RObject_Impl& operator=(const T& other) {
51
Storage::set__(other) ;
52
return *this;
53
}
0 commit comments