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

◆ common_type

eve::algo::common_type = common_with_types<>
inlineconstexpr

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

A zip trait for converting all the types in a zip, equivalent of common_with_types<>.

You can get identical results with with views::convert but this is a convinience.

Take all types in a zip_iterator/zip_range and convert them to a common type.

This is, for example, used by equal and mismatch algorithms to compare different types

See also
common_with_types
force_type