MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / CcI2SStrct

Class CcI2SStrct

test/function_traits_test.cpp:43–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41std::string (*CcI2SFunctionPointerNoexcept)(const std::string&, int) noexcept = &CcI2SFreeNoexcept;
42
43struct CcI2SStrct {
44 std::string operator()(const std::string& str, int x)
45 {
46 return CcI2SFree(str, x);
47 }
48 std::string nonCMemF(const std::string& str, int x)
49 {
50 return CcI2SFree(str, x);
51 }
52 std::string cnstMemF(const std::string& str, int x) const
53 {
54 return CcI2SFree(str, x);
55 }
56 static std::string sttcMemF(const std::string& str, int x)
57 {
58 return CcI2SFree(str, x);
59 }
60};
61
62struct CcI2SStrctNoexcept {
63 std::string operator()(const std::string& str, int x) noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected