You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
453 B
C++

#ifndef EXIV2_UTILS_HPP
#define EXIV2_UTILS_HPP
#include <string>
#include <string_view>
namespace Exiv2 {
constexpr bool startsWith(std::string_view s, std::string_view start) {
return s.find(start) == 0;
}
/// @brief Returns the uppercase version of \b str
std::string upper(const std::string& str);
/// @brief Returns the lowercase version of \b str
std::string lower(const std::string& str);
} // namespace Exiv2
#endif // EXIV2_UTILS_HPP