| 197 | } |
| 198 | |
| 199 | bool has_function(const Proxy_Function &new_f, const std::string &name) |
| 200 | { |
| 201 | return std::any_of(m_funcs.begin(), m_funcs.end(), |
| 202 | [&](const std::pair<Proxy_Function, std::string> &existing_f) { |
| 203 | return existing_f.second == name && *(existing_f.first) == *(new_f); |
| 204 | } |
| 205 | ); |
| 206 | } |
| 207 | |
| 208 | |
| 209 | private: |