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 2d342d1 commit 68adde6Copy full SHA for 68adde6
inst/include/Rcpp/vector/const_string_proxy.h
@@ -110,6 +110,13 @@ namespace internal{
110
return strcmp( begin(), other.begin() ) != 0 ;
111
}
112
113
+ bool operator==( SEXP other ) const {
114
+ return get() == other;
115
+ }
116
+
117
+ bool operator!=( SEXP other ) const {
118
+ return get() != other;
119
120
121
private:
122
static std::string buffer ;
inst/include/Rcpp/vector/string_proxy.h
@@ -192,6 +192,14 @@ namespace internal{
192
193
194
195
196
197
198
199
200
201
202
203
204
205
0 commit comments