MCPcopy Create free account
hub / github.com/0voice/cpp_new_features / operator()

Method operator()

cpp_11/003_class_functor.cpp:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 base(b)
10 {}
11 float operator()(float money){ return (money - base)*rate; }
12};
13
14int main(int argc, char *argv[])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected