| 228 | //! [metafunction1] |
| 229 | template <template <typename> class F, typename T> |
| 230 | constexpr auto metafunction(hana::basic_type<T> const&) |
| 231 | { return hana::type_c<typename F<T>::type>; } |
| 232 | |
| 233 | auto t = hana::type_c<int>; |
| 234 | BOOST_HANA_CONSTANT_CHECK(metafunction<std::add_pointer>(t) == hana::type_c<int*>); |
nothing calls this directly
no outgoing calls
no test coverage detected