mirror of
https://github.com/fmtlib/fmt.git
synced 2025-03-31 16:21:07 +00:00
Remove redundant overload
This commit is contained in:
parent
1408f1824d
commit
25adca5666
@ -1202,12 +1202,6 @@ FMT_CONSTEXPR inline auto is_locking() -> bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// An optimized version of std::copy with the output value type (T).
|
// An optimized version of std::copy with the output value type (T).
|
||||||
template <typename T, typename InputIt>
|
|
||||||
auto copy(InputIt begin, InputIt end, appender out) -> appender {
|
|
||||||
get_container(out).append(begin, end);
|
|
||||||
return out;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename T, typename InputIt, typename OutputIt,
|
template <typename T, typename InputIt, typename OutputIt,
|
||||||
FMT_ENABLE_IF(is_back_insert_iterator<OutputIt>::value)>
|
FMT_ENABLE_IF(is_back_insert_iterator<OutputIt>::value)>
|
||||||
auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
|
auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user