Dobiasd / FunctionalPlus

Functional Programming Library for C++. Write concise and readable C++ code.
http://www.editgym.com/fplus-api-search/
Boost Software License 1.0
2.07k stars 168 forks source link

add a way to serialize a tuple as list of strings #270

Closed ferdymercury closed 1 year ago

ferdymercury commented 1 year ago

Fixes https://github.com/Dobiasd/FunctionalPlus/issues/269

Dobiasd commented 1 year ago

Looks good. :+1: Thanks! :heart:

There are two unused parameter errors in the CI:

/__w/FunctionalPlus/FunctionalPlus/include/fplus/show.hpp:306:40: error: unused parameter 't' [-Werror,-Wunused-parameter]
void stream(const std::tuple<Args...>& t, std::list<std::string>& sl)
                                       ^
/__w/FunctionalPlus/FunctionalPlus/include/fplus/show.hpp:306:67: error: unused parameter 'sl' [-Werror,-Wunused-parameter]
void stream(const std::tuple<Args...>& t, std::list<std::string>& sl)
                                                                  ^

If you fix them (void foo(T bar) -> void foo(T)) we're good to merge.