Replies: 3 comments 1 reply
|
Also functions like ToStr would benefit from if constexpr () to compile out code. |
|
I have converted this Rapidcsv currently supports C++11, but given it's already 2026 it may be time to consider requiring C++14 or possibly C++17 (which adds I will do some surveying on other C++ libraries minimum supported C++ versions. Any feedback from users of this library is also welcome here in this thread. |
|
looking forward to this |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
It would be nice, if library would use string_view and span more extensively. It would remove not needed copying expensive strings all over the place.
returning string_view here for example.
rapidcsv/src/rapidcsv.h
Line 1393 in 03133b5
Or
std::vector<T> GetRow(const std::string& pRowName)To be
std::span<const T> GetRow(const std::string_view pRowName)Thi way it literaly zero allocation. Both when cnverting literal like GetRow("blah blah blah") and accessing result.
All reactions