| 1456 | |
| 1457 | template<typename Container, typename T> |
| 1458 | void insert(Container & c, T && x) |
| 1459 | { |
| 1460 | if constexpr (is_detected_v<has_push_back, Container>) { |
| 1461 | c.push_back((T &&) x); |
| 1462 | } else { |
| 1463 | c.insert((T &&) x); |
| 1464 | } |
| 1465 | } |
| 1466 | |
| 1467 | template<typename Container, typename I> |
| 1468 | void insert(Container & c, I first, I last) |
no test coverage detected