...
This commit is contained in:
@@ -450,7 +450,13 @@ public:
|
||||
std::error_code ec{};
|
||||
std::string output_buffer;
|
||||
|
||||
// #ifdef __GNUG__
|
||||
// #if __GNUG__ < 16
|
||||
// auto write_rec = [&output_buffer, &ec, obj_ptr = this]<size_t I = 0>(this auto& self) -> void {
|
||||
// #else
|
||||
auto write_rec = [&output_buffer, &ec, this]<size_t I = 0>(this auto& self) -> void {
|
||||
// #endif
|
||||
// #endif
|
||||
if constexpr (I < NUMBER_OF_RECORDS) {
|
||||
// add an empty string within records
|
||||
std::format_to(std::back_inserter(output_buffer), "{}", DEFAULT_RECORD_DELIMITER);
|
||||
|
||||
Reference in New Issue
Block a user