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 4edb493 commit 040b0d6Copy full SHA for 040b0d6
cppjson/include/cppjson/object.hpp
@@ -98,7 +98,7 @@ namespace cppjson
98
}
99
100
ObjectProxy operator[](const std::string& key);
101
- tempalte <std::size_t N>
+ template <std::size_t N>
102
ObjectProxy operator[](const char(&key)[N]) { return (*this)[std::string{key}]; }
103
private:
104
std::reference_wrapper<JsonObject> _object;
0 commit comments