MCPcopy Create free account
hub / github.com/boostorg/asio / main

Function main

test/properties/cpp14/query_free.cpp:24–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24int main()
25{
26 object o1 = {};
27 int result1 = boost::asio::query(o1, prop());
28 assert(result1 == 123);
29 (void)result1;
30
31 const object o2 = {};
32 int result2 = boost::asio::query(o2, prop());
33 assert(result2 == 123);
34 (void)result2;
35
36 constexpr object o3 = {};
37 constexpr int result3 = boost::asio::query(o3, prop());
38 assert(result3 == 123);
39 (void)result3;
40}

Callers

nothing calls this directly

Calls 2

propClass · 0.70
queryFunction · 0.50

Tested by

no test coverage detected