| 1919 | /// Call class-specific delete if it exists or global otherwise. Can also be an overload set. |
| 1920 | template <typename T, enable_if_t<has_operator_delete<T>::value, int> = 0> |
| 1921 | void call_operator_delete(T *p, size_t, size_t) { |
| 1922 | T::operator delete(p); |
| 1923 | } |
| 1924 | template <typename T, |
| 1925 | enable_if_t<!has_operator_delete<T>::value && has_operator_delete_size<T>::value, int> |
| 1926 | = 0> |