We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab9f56 commit 477e3e4Copy full SHA for 477e3e4
Chapter8/main.cpp
@@ -67,7 +67,7 @@ class State
67
public:
68
state_value_t choices(const state_key_t& key)
69
{
70
- if (state.contains(key)) // can we do a find instead?
+ if (state.contains(key)) // Introduced in C++20: we can use find instead
71
72
return state[key];
73
}
0 commit comments