|
Stratax 0.4.0rc1
|
Pairwise dtype promotion rules. More...
#include <concepts>#include <cstddef>#include <type_traits>#include <stratax/core/dtypes/DTypeTraits.hpp>

Go to the source code of this file.
Classes | |
| struct | stratax::core::Promote< T, T > |
| Preserves a dtype when both operands have the same supported dtype. More... | |
| struct | stratax::core::Promote< L, R > |
| Promotes two signed integer dtypes to the wider dtype. More... | |
Typedefs | |
| template<typename L , typename R > | |
| using | stratax::core::promote_t = typename Promote< std::remove_cvref_t< L >, std::remove_cvref_t< R > >::type |
| Convenience alias for the promoted dtype of two types. | |
Pairwise dtype promotion rules.
Definition in file Promotion.hpp.
| using stratax::core::promote_t = typedef typename Promote< std::remove_cvref_t<L>, std::remove_cvref_t<R> >::type |
Convenience alias for the promoted dtype of two types.
cv- and reference qualifiers are removed before promotion.
Definition at line 297 of file Promotion.hpp.