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

Function main

test/properties/cpp11/query_member.cpp:35–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33} // namespace boost
34
35int main()
36{
37 object o1 = {};
38 int result1 = boost::asio::query(o1, prop());
39 assert(result1 == 123);
40 (void)result1;
41
42 const object o2 = {};
43 int result2 = boost::asio::query(o2, prop());
44 assert(result2 == 123);
45 (void)result2;
46
47 constexpr object o3 = {};
48 constexpr int result3 = boost::asio::query(o3, prop());
49 assert(result3 == 123);
50 (void)result3;
51}

Callers

nothing calls this directly

Calls 2

propClass · 0.70
queryFunction · 0.50

Tested by

no test coverage detected