E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ common_with_types

template<typename ... Ts>
eve::algo::common_with_types = (common_with_types_key = eve::common_type<Ts...>{})
inlineconstexpr

#include <eve/module/algo/algo/traits.hpp>

Figures out a common type between all of the types in a zipped iterator/range + all types passed to the trait. Common type is computed via eve::common_type. Most of the common cases just need eve::algo::common_type trait but we think it come in handy in some more esoteric cases.

See also
common_type
force_type