rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
rexlib::native_type_of< Type > Struct Template Reference

Convert numerical_type-s to static types. More...

Detailed Description

template<numerical_type Type>
struct rexlib::native_type_of< Type >

Convert numerical_type-s to static types.

The static type of the provided numerical_type is exposed as native_type_of<Type>::type.

This is the inverse of numerical_type_of, so that numerical_type_of<typename native_type_of<Type>::type>::value equals Type for every convertible numerical_type.

It is left undefined for numerical_type::unknown and numerical_type::count, so that naming a type that has no static counterpart is a compile time error.

Template Parameters
TypeThe numerical_type to be converted.
See also
numerical_type_of

The documentation for this struct was generated from the following file: