util::quantities::concepts::details::has_value_compatible_with< T, U > Struct Template Reference

#include <quantities.h>

Inheritance diagram for util::quantities::concepts::details::has_value_compatible_with< T, U >:
util::quantities::concepts::details::is_value_compatible_with< quantity_value_t< T >, U >

Detailed Description

template<typename T, typename U>
struct util::quantities::concepts::details::has_value_compatible_with< T, U >

Trait: true_type if the value type of T is compatible with the one of U.

Note that this tells that T is compatible with U, but it may still leave U not compatible with T (for example, if the compatibility criterium were something asymmetric like a non-narrowing conversion).

Definition at line 313 of file quantities.h.


The documentation for this struct was generated from the following file: