464027401@qq.com
2021-09-27 b469805b2d0c9b23ca020cf9356ff137205f856c
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/enum-generator.h
old mode 100755 new mode 100644
@@ -77,6 +77,14 @@
      return ""; \
   }
template<typename T>
inline char getEnumValueAsString (const T &) { return 0; }
template<typename T>
struct IsDefinedEnum {
   enum { value = sizeof(getEnumValueAsString(std::declval<T>())) == sizeof(const char *) };
};
//Explicit conversion from enum type to underlying type
template<typename T>
constexpr auto to_integral(T e) -> typename std::underlying_type<T>::type