| 150 | |
| 151 | // Implementation of add method |
| 152 | template<CURLSHoption Opt> void curl_share::add(const detail::SHOption_type<Opt> val) { |
| 153 | const auto code = curl_share_setopt(this->curl, Opt, val); |
| 154 | if (code != CURLSHE_OK) { |
| 155 | throw curl_share_exception(code, __FUNCTION__); |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | // Implementation of overloaded add method. |
| 160 | template<typename Iterator> void curl_share::add(Iterator begin, const Iterator end) { |
nothing calls this directly
no test coverage detected