namespace Utils { std::string GetMimeType(std::string url); std::string ParseChallenge(std::string data); void OutputDebugLastError(); template void Merge(std::vector* target, T* source, size_t length) { if (source) { for (size_t i = 0; i < length; ++i) { target->push_back(source[i]); } } } template void Merge(std::vector* target, std::vector source) { for (auto &entry : source) { target->push_back(entry); } } }