Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ my_add
Function
my_add
examples/source/overloading.cpp:6–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
#include <iostream>
5
6
inline int my_add(int x, int y) {
7
return x + y;
8
}
9
10
inline std::string make_string(std::string input) {
11
return
"string: "
+ input;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected