![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Concept to check if a type can be lossless converted to another type. More...
#include <vecConcepts.hpp>
Concept to check if a type can be lossless converted to another type.
This concept ensures that a type T_From can be converted to a type T_To without any loss of information. It checks for implicit convertibility, signedness compatibility, and precision preservation for both integer and floating-point types.
| T_From | The source type to be converted. |
| T_To | The target type to which the source type is converted. |
Definition at line 53 of file vecConcepts.hpp.