MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / test

Function test

test/stdexec/queries/test_env.cpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

test_env.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected