MCPcopy Create free account
hub / github.com/apache/mesos / F

Class F

3rdparty/stout/tests/cpp17_tests.cpp:59–62  ·  view source on GitHub ↗

Invoke a function object.

Source from the content-addressed store, hash-verified

57{
58 // Invoke a function object.
59 struct F
60 {
61 int operator()(int i) const { return i + 202; }
62 };
63
64 EXPECT_EQ(404, cpp17::invoke(F{}, 202));
65}

Calls

no outgoing calls

Tested by

no test coverage detected