Debian Codegraph @

testing/projects/cpp_func_overloads/src/overload.cpp

raw
1 #include <overload/overload.hpp>
2
3 namespace overload {
4 int blargh(int x, int y, int z, int w) {
5 return x + y + z + w;
6 }
7
8 float blargh(float x, float y, float z, float w) {
9 return -1.0f * (x + y + z + w);
10 }
11
12 std::string blargh(const std::string& x,
13 const std::string& y,
14 const std::string& z,
15 const std::string& w) {
16 return x + y + z + w;
17 }
18 }