MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / empty

Method empty

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

Source from the content-addressed store, hash-verified

168 inline iterator end() const { return begin() + size() ; }
169 inline R_xlen_t size() const { return strlen( begin() ) ; }
170 inline bool empty() const { return *begin() == '\0' ; }
171 inline reference operator[]( R_xlen_t n ){ return *( begin() + n ) ; }
172
173 template <typename UnaryOperator>

Calls

no outgoing calls

Tested by

no test coverage detected