You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
y1[i] and y2[i] are elements of writable integer vectors, and are of type cpp11::writable::r_vector::proxy. It appears that the equals operator for this type has been defined in two places:
r_vector.hpp line 241: proxy& operator=(const T& rhs);
integers.hpp line 59: inline typename r_vector<int>::proxy& r_vector<int>::proxy::operator=(const int& rhs)
The text was updated successfully, but these errors were encountered:
As the answer to my StackOverflow question says.
This example shows that the documentation could be improved.
Taking from SamR's answer:
y1[i]
andy2[i]
are elements of writable integer vectors, and are of type cpp11::writable::r_vector::proxy. It appears that the equals operator for this type has been defined in two places:proxy& operator=(const T& rhs);
inline typename r_vector<int>::proxy& r_vector<int>::proxy::operator=(const int& rhs)
The text was updated successfully, but these errors were encountered: