Closed tyanmahou closed 5 months ago
エラーの内容 | Describe the build error
CSVをReaderからロードしようとするとビルドエラーになります。
再現方法 | To Reproduce
CSV csv; csv.load(MemoryReader());
ビルド環境 | Develop environment (please complete the following information):
備考 | Additional context
括弧がづれています
template <class Reader, std::enable_if_t<std::is_base_of_v<IReader, Reader> && !std::is_lvalue_reference_v<Reader>>*> inline bool CSV::load(Reader&& reader, const StringView separators, const StringView quotes, const StringView escapes) { - return load(std::make_unique<Reader>(std::move(reader), separators, quotes, escapes)); + return load(std::make_unique<Reader>(std::move(reader)), separators, quotes, escapes); }
Fixed. Good catch!
エラーの内容 | Describe the build error
CSVをReaderからロードしようとするとビルドエラーになります。
再現方法 | To Reproduce
ビルド環境 | Develop environment (please complete the following information):
備考 | Additional context
括弧がづれています