MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / operator<

Function operator<

inst/include/Rcpp/vector/string_proxy.h:221–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219
220 template <int RT>
221 bool operator<( const string_proxy<RT>& lhs, const string_proxy<RT>& rhs) {
222 return strcmp(
223 const_cast<char *>(lhs.begin() ),
224 const_cast<char *>(rhs.begin())
225 ) < 0 ;
226 }
227
228 template <int RT>
229 bool operator>( const string_proxy<RT>& lhs, const string_proxy<RT>& rhs) {

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected