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

Function BOOST_AUTO_TEST_CASE

test/test_result_of.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <boost/compute/type_traits/result_of.hpp>
17
18BOOST_AUTO_TEST_CASE(result_of_function)
19{
20 using boost::compute::function;
21 using boost::compute::result_of;
22
23 BOOST_STATIC_ASSERT((
24 boost::is_same<result_of<function<int()>()>::type, int>::value
25 ));
26}
27
28BOOST_AUTO_TEST_CASE(result_of_operators)
29{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected