16 #ifndef PSEN_SCAN_V2_STANDALONE_FORMAT_RANGE_H 17 #define PSEN_SCAN_V2_STANDALONE_FORMAT_RANGE_H 24 #include <fmt/format.h> 40 std::stringstream strstr;
42 for (
auto it = range.begin(); std::next(it) < range.end(); ++it)
44 strstr << fmt::format(
"{}, ", *it);
46 if (range.begin() < range.end())
48 strstr << fmt::format(
"{}", *std::prev(range.end()));
57 #endif // PSEN_SCAN_V2_STANDALONE_FORMAT_RANGE_H Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
std::string formatRange(const T &range)