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

Class CcI2SStrctNoexcept

test/function_traits_test.cpp:62–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60};
61
62struct CcI2SStrctNoexcept {
63 std::string operator()(const std::string& str, int x) noexcept
64 {
65 return CcI2SFreeNoexcept(str, x);
66 }
67 std::string nonCMemF(const std::string& str, int x) noexcept
68 {
69 return CcI2SFreeNoexcept(str, x);
70 }
71 std::string cnstMemF(const std::string& str, int x) const noexcept
72 {
73 return CcI2SFreeNoexcept(str, x);
74 }
75 static std::string sttcMemF(const std::string& str, int x) noexcept
76 {
77 return CcI2SFreeNoexcept(str, x);
78 }
79};
80
81TEST_CASE("function_traits_test - static_asserts")
82{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected