Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ get_or_create
Method
get_or_create
include/sol/table_proxy.hpp:185–187 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
183
184
template <typename T>
185
decltype(auto) get_or_create() {
186
return get_or_create<T>(new_table());
187
}
188
189
template <typename T, typename Otherwise>
190
decltype(auto) get_or_create(Otherwise&& other) {
Callers
nothing calls this directly
Calls
3
valid
Method · 0.95
new_table
Class · 0.85
set
Method · 0.45
Tested by
no test coverage detected