You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// find an entryif (o.find("foo") != o.end()) {
// there is an entry with key "foo"
}
Sometimes we just want to check if an entry is there.
For this .contains() is so much easier to read.
Please do add this example too:
// check if entry existsif (o.contains("foo")) {
// there is an entry with key "foo"
}
On a side note: great work! This library is facile to use and makes one's programming life much easier and much more fun! thanks for this library and your effort!
The text was updated successfully, but these errors were encountered:
In the readme STL-like access section, there already is:
Sometimes we just want to check if an entry is there.
For this .contains() is so much easier to read.
Please do add this example too:
On a side note: great work! This library is facile to use and makes one's programming life much easier and much more fun! thanks for this library and your effort!
The text was updated successfully, but these errors were encountered: