Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ get
Method
get
tests/test_sequences_and_iterators.cpp:339–339 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
337
338
void set(const std::string &key, std::string val) { map[key] = std::move(val); }
339
std::string get(const std::string &key) const { return map.at(key); }
340
size_t size() const { return map.size(); }
341
342
private:
Callers
1
TEST_SUBMODULE
Function · 0.45
Calls
1
at
Method · 0.80
Tested by
no test coverage detected