FuncSketch
Loading...
Searching...
No Matches
common_type.h File Reference

Definition of CommonType type. More...

#include <type_traits>
Include dependency graph for common_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

template<typename T1, typename T2>
using func_sketch::math::CommonType = std::common_type_t<T1, T2>
 Get common type of two types.

Detailed Description

Definition of CommonType type.

Definition in file common_type.h.

Typedef Documentation

◆ CommonType

template<typename T1, typename T2>
using func_sketch::math::CommonType = std::common_type_t<T1, T2>

Get common type of two types.

Note
This type alias is written for use with number types in func_sketch::Number type. Although current implementation is just std::common_type_t, this type alias can change in the future.

Definition at line 34 of file common_type.h.