Move copy to format.h

This commit is contained in:
Victor Zverovich
2026-01-29 21:30:20 -08:00
parent b2a96c6087
commit 26c6b1c23d
4 changed files with 70 additions and 69 deletions
-11
View File
@@ -282,17 +282,6 @@ TEST(base_test, is_back_insert_iterator) {
std::front_insert_iterator<std::string>>::value);
}
struct minimal_container {
using value_type = char;
void push_back(char) {}
};
TEST(base_test, copy) {
minimal_container c;
static constexpr char str[] = "a";
fmt::detail::copy<char>(str, str + 1, std::back_inserter(c));
}
TEST(base_test, get_buffer) {
mock_buffer<char> buffer;
void* buffer_ptr = &buffer;