append new (k, v) pairs to a replace map
| 24 | |
| 25 | //! append new (k, v) pairs to a replace map |
| 26 | static inline void append_replace_map( |
| 27 | StrReplaceMap& map, |
| 28 | std::initializer_list<std::pair<std::string, std::string>> newitems) { |
| 29 | for (auto&& i : newitems) { |
| 30 | map.push_back(std::move(i)); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | template <typename T> |
| 35 | inline std::string str(T i) { |
no test coverage detected