7 #ifndef RETDEC_FILEFORMAT_UTILS_CONVERSIONS_H
8 #define RETDEC_FILEFORMAT_UTILS_CONVERSIONS_H
26 template<
typename N>
bool addUniqueValue(std::vector<N> ¤tValues, N newVal, std::size_t &newIndex)
28 const auto curSize = currentValues.size();
30 for(std::size_t i = 0; i < curSize; ++i)
32 if(currentValues[i] == newVal)
39 currentValues.push_back(newVal);
46 void separateStrings(std::string &str, std::vector<std::string> &words);
Definition: archive_wrapper.h:19