Repository navigation
v0.9.3
Release version v0.9.3
Support custom type conversion function(支持自定义类型转换功能)
Custom type conversion: You can customize type conversion, inifile will automatically convert according to the definition you wrote (reduce duplication)
The following are custom rules:
- Use the
INIFILE_TYPE_CONVERTERmacro to specialize the custom type (Must have a default constructor); - Define
encodefunction, which is used to define how to convert custom types into ini storage strings (the storage string cannot contain newlines); - Define
decodefunction, which is used to define how to convert the ini storage string into a custom type;