-
#include "tensorstore/util/element_traits.h"
-
template <typename Source, typename Dest>
constexpr bool tensorstore::IsElementTypeExplicitlyConvertible =
(std::is_const_v<Source> <= std::is_const_v<Dest>) &&
(std::is_void_v<Source> || std::is_void_v<Dest> ||
std::is_same_v<const Source, const Dest>); Metafunction that evaluates to whether an array of Source-type elements is implicitly or explicitly convertible to an array of Dest-type elements.
T
T
T
const T
T
void
T
const void
void
T
void
const T
const void
const T