test_cast_runner< Scalar, EnableIf > Struct Template Reference

Static Public Member Functions

static void run ()
 

Member Function Documentation

◆ run()

template<typename Scalar , typename EnableIf = void>
static void test_cast_runner< Scalar, EnableIf >::run ( )
inlinestatic
41  {
42  test_type_cast<Scalar, bool>();
43  test_type_cast<Scalar, int8_t>();
44  test_type_cast<Scalar, int16_t>();
45  test_type_cast<Scalar, int32_t>();
46  test_type_cast<Scalar, int64_t>();
47  test_type_cast<Scalar, uint8_t>();
48  test_type_cast<Scalar, uint16_t>();
49  test_type_cast<Scalar, uint32_t>();
50  test_type_cast<Scalar, uint64_t>();
51  test_type_cast<Scalar, half>();
52  test_type_cast<Scalar, bfloat16>();
53  test_type_cast<Scalar, float>();
54  test_type_cast<Scalar, double>();
55  test_type_cast<Scalar, std::complex<float>>();
56  test_type_cast<Scalar, std::complex<double>>();
57  }

Referenced by test_cast_runner< SrcPacket, TgtScalar, TgtPacket, true, true >::run(), packetmath_pcast_ops_runner< Scalar, Packet, EnableIf >::run(), and packetmath_pcast_ops_runner< Scalar, Packet, std::enable_if_t< NumTraits< Scalar >::IsComplex > >::run().


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