| 22 | }; |
| 23 | |
| 24 | int 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 | } |