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

Function main

test/properties/cpp11/query_static.cpp:46–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44} // namespace boost
45
46int main()
47{
48 object o1 = {};
49 int result1 = boost::asio::query(o1, prop());
50 assert(result1 == 123);
51 (void)result1;
52
53 const object o2 = {};
54 int result2 = boost::asio::query(o2, prop());
55 assert(result2 == 123);
56 (void)result2;
57
58 constexpr object o3 = {};
59 constexpr int result3 = boost::asio::query(o3, prop());
60 assert(result3 == 123);
61 (void)result3;
62}

Callers

nothing calls this directly

Calls 2

propClass · 0.70
queryFunction · 0.50

Tested by

no test coverage detected