Commit 1a55d39a authored by Davis King's avatar Davis King

Minor comment cleanup.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403085
parent 209cbbe3
......@@ -99,9 +99,9 @@ int main()
cout << cr.block("user1").block("details")["editor"] << endl;
// Finally, note that you can use the string_cast function to easily
// convert fields into non-string types. For example, the config
// file has an integer id field that could be converted into an int like so:
// Note that you can use the string_cast function to easily convert fields
// into non-string types. For example, the config file has an integer id
// field that could be converted into an int like so:
int id = string_cast<int>(cr.block("user2")["id"]);
cout << "user2's id is " << id << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment