Skip to content

feat: add only section not has filed name; for examlpe:[section1] dat…#44

Open
wangwenqiangGitHub wants to merge 1 commit intoRookfighter:mainfrom
wangwenqiangGitHub:main
Open

feat: add only section not has filed name; for examlpe:[section1] dat…#44
wangwenqiangGitHub wants to merge 1 commit intoRookfighter:mainfrom
wangwenqiangGitHub:main

Conversation

@wangwenqiangGitHub
Copy link

…a1 \n data2 \n data3\n

@wangwenqiangGitHub
Copy link
Author

 [section1]
data1
data2
data3

 ini::IniFile testIni;
 testIni.setVectorFieldsFlag(true);
testIni.load("test.ini");
std::string vec = sysgo["section1"]["section1"].as<std::string>();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant