Halide 22.0.0 Halide compiler and libraries

Static Public Member Functions | List of all members
Halide::Internal::Convert< FROM, TO > Struct Template Reference

`#include <Generator.h>`

## Static Public Member Functions
template<typename TO2 = TO, std::enable_if_t<!std::is_same_v< TO2, bool > > * = nullptr>
static TO2 | value (const FROM &from)
template<typename TO2 = TO, std::enable_if_t< std::is_same_v< TO2, bool > > * = nullptr>
static TO2 | value (const FROM &from)

## Detailed Description

template<typename FROM, typename TO>
struct Halide::Internal::Convert< FROM, TO >

Definition at line 493 of file Generator.h.

## Member Function Documentation

## ◆ value() [1/2]

template<typename FROM , typename TO >
template<typename TO2 = TO, std::enable_if_t<!std::is_same_v< TO2, bool > > * = nullptr>

static TO2 Halide::Internal::Convert< FROM, TO >::value | ( | const FROM & | from | ) |
| inlinestatic

Definition at line 495 of file Generator.h.

## ◆ value() [2/2]

template<typename FROM , typename TO >
template<typename TO2 = TO, std::enable_if_t< std::is_same_v< TO2, bool > > * = nullptr>

static TO2 Halide::Internal::Convert< FROM, TO >::value | ( | const FROM & | from | ) |
| inlinestatic

Definition at line 500 of file Generator.h.

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

- src/Generator.h