template<typename T, typename U, typename>
struct boost::hana::has_common< T, U, typename >
Metafunction returning whether two data types share a common data type.
Given two data types T
and U
, this metafunction simply returns whether common<T, U>::type
is well-formed.
Example
static_assert(hana::has_common<int, float>{}, "");
static_assert(!hana::has_common<void, float>{}, "");
int main() { }
Defines boost::hana::common and boost::hana::common_t.
Namespace containing everything in the library.
Definition: accessors.hpp:20
Inherits std::false_type.