| 81 | |
| 82 | template <class InputIt, class OutputIt> |
| 83 | constexpr OutputIt copy(InputIt first, InputIt last, OutputIt d_first) |
| 84 | { |
| 85 | while(first != last) |
| 86 | { |
| 87 | *d_first++ = *first++; |
| 88 | } |
| 89 | return d_first; |
| 90 | } |
| 91 | |
| 92 | template <class InputIt, class OutputIt, class UnaryPredicate> |
| 93 | constexpr OutputIt copy_if(InputIt first, InputIt last, OutputIt d_first, UnaryPredicate pred) |
no outgoing calls
no test coverage detected