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

Method checkIfSet

inst/include/Rcpp/Nullable.h:140–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 bool m_set;
139
140 inline void checkIfSet(void) const {
141 if (!m_set) {
142 throw ::Rcpp::exception("Not initialized");
143 }
144 }
145 };
146}
147

Callers

nothing calls this directly

Calls 1

exceptionClass · 0.85

Tested by

no test coverage detected