| 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 { |
no outgoing calls
no test coverage detected