MCPcopy Create free account
hub / github.com/JosephP91/curlcpp / is_null

Method is_null

include/curl_form.h:133–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131
132 // Implementation of utility function to check if a pointer points to null.
133 template<typename T> inline void curl_form::is_null(const T *ptr) const {
134 if (ptr == nullptr) {
135 throw std::bad_alloc();
136 }
137 }
138
139 // Implementation of getter method that returns the list head.
140 inline const struct curl_httppost *curl_form::get() const {

Callers 3

addMethod · 0.95
copy_ptrMethod · 0.95
curl_form.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected