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

Function operator<

inst/include/Rcpp/vector/const_string_proxy.h:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127 template <int RT>
128 bool operator<( const const_string_proxy<RT>& lhs, const const_string_proxy<RT>& rhs) {
129 return strcmp(
130 const_cast<char *>(lhs.begin() ),
131 const_cast<char *>(rhs.begin())
132 ) < 0 ;
133 }
134
135 template <int RT>
136 bool operator>( const const_string_proxy<RT>& lhs, const const_string_proxy<RT>& rhs) {

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected