MCPcopy Create free account
hub / github.com/boostorg/compute / check_lambda_result

Function check_lambda_result

test/test_lambda.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69template<class Result, class Expr>
70void check_lambda_result(const Expr &)
71{
72 BOOST_STATIC_ASSERT((
73 boost::is_same<
74 typename ::boost::compute::lambda::result_of<Expr>::type,
75 Result
76 >::value
77 ));
78}
79
80template<class Result, class Expr, class Arg1>
81void check_lambda_result(const Expr &, const Arg1 &)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected