Make is_empty work with any integral type
2 files changed, 7 insertions(+), 5 deletions(-) M src/utils/get_first_non_empty.cpp M src/utils/get_first_non_empty.hpp
M src/utils/get_first_non_empty.cpp => src/utils/get_first_non_empty.cpp +1 -4
@@ 1,11 1,8 @@ #include <utils/get_first_non_empty.hpp> template <> bool is_empty(const std::string& val) { return val.empty(); } bool is_empty(const int& val) { return val == 0; }
M src/utils/get_first_non_empty.hpp => src/utils/get_first_non_empty.hpp +6 -1