| 73 | } bar{}; |
| 74 | |
| 75 | constexpr bool test() |
| 76 | { |
| 77 | auto env = ex::env{ |
| 78 | ex::env{ex::prop{fwd_foo, 42.}, ex::prop{foo, 'F'}}, |
| 79 | ex::prop{ bar, 31415} |
| 80 | }; |
| 81 | |
| 82 | static_assert(ex::__queryable_with<decltype(env), Foo>); |
| 83 | return fwd_foo(env) == 42. && bar(env) == 31415; |
| 84 | } |
| 85 | static_assert(test()); |
| 86 | |
| 87 | struct EnvOfThree |
no outgoing calls
no test coverage detected